feat(nixopts): display nix options in completion output#220
feat(nixopts): display nix options in completion output#220water-sucks merged 1 commit intonix-community:mainfrom
Conversation
|
Displaying all the available Nix arguments in The only reason I agree with it being in completion output is for ease of use for the dynamic completion options (i.e. |
|
Ok, the completion output is the more important feature as it doesn't really have an alternative. I'll implement just that then. |
- Stop hiding nix flags so they show up in completion output. - Since they would otherwise be visible in the usage text, annotate nix flags and introduce a custom usage function to hide them from the usage text.
03229f2 to
5bf5e12
Compare
water-sucks
left a comment
There was a problem hiding this comment.
This looks good to me :}
- Annotate nix flags and introduce a custom usage function to display them in a dedicated section.- Stop hiding nix flags so they show up in completion menus.- Remove the default value text for StringMap options.- Set a back-quoted name for StringMap options to replace the unclear default of "stringToString".Though it makes discovering the available nix options much more natural, I'm still not entirely sure this is worth bloating the usage text and completions.Edit:
nix flags and introduce a custom usage function to hide them from
the usage text.