Skip to content

Conversation

@saygo-png
Copy link

@saygo-png saygo-png commented Dec 1, 2025

WIP

todo:

  • fish completions
  • bash completions
  • zsh completions

Not using optparse for the subcommands as nix arguments cannot be parsed well using it. You have to either use nom shell -- <nix args> or use the forwardOptions infomod which works globally. It turns all unparsed options and arguments into posistional arguments. This works well for the subcommands, but it messes up error handling for nom without a subcommand.

@saygo-png saygo-png force-pushed the optparse-2 branch 3 times, most recently from 1b2bc4f to 18430bc Compare December 2, 2025 16:30
Signed-off-by: saygo-png <[email protected]>
Signed-off-by: saygo-png <[email protected]>
Signed-off-by: saygo-png <[email protected]>
Signed-off-by: saygo-png <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant