vuizvui icon indicating copy to clipboard operation
vuizvui copied to clipboard

pkgs/profpatsch/nman: ✨ add --file flag to use local nix file

Open Profpatsch opened this issue 6 months ago • 1 comments

Add support for using ./default.nix instead of when the --local or -l flag is specified. This allows viewing man pages for packages defined in local development environments or custom package sets.

Changes:

  • Add use_local field to Main struct
  • Parse --local/-l command line option
  • Conditionally use ./default.nix in Nix expression generation
  • Update help text and man page documentation with new option and examples
  • Maintain backward compatibility (default behavior unchanged)

🤖 Generated with Claude Code

Profpatsch avatar Jul 03 '25 14:07 Profpatsch