generate shell completion from specs #42
Replies: 3 comments
-
Feel free to experiment. I'm open to this, but I think completions are shell (bash, zsh, fish, etc) specific? |
Beta Was this translation helpful? Give feedback.
-
Cool. zsh apparently has a bash compatibility mode. I'm not sure about fish. My inspiration for this is the compleat tool which does something similar and works with bash, zsh, and fish. |
Beta Was this translation helpful? Give feedback.
-
Idea for API:
Then the user can choose to map Unknowns / uncertainty: I have only ever used |
Beta Was this translation helpful? Give feedback.
-
I'm curious how hard this would be.
Maybe have a special flag --complete that takes a partial command line and returns the list of completions to the shell.
Beta Was this translation helpful? Give feedback.
All reactions