Replies: 4 comments
-
This gem https://github.com/labocho/thor-zsh_completion works well. But it doesn't support options and subcommand arguments. |
Beta Was this translation helpful? Give feedback.
-
As an alternative to an "autocompletion generator", could Thor respond with completions when called with COMP_LINE and COMP_POINT? |
Beta Was this translation helpful? Give feedback.
-
That does sound like a better approach. PRs are welcome! |
Beta Was this translation helpful? Give feedback.
-
I'm not even going to create a PR (because my code is so bad) but here's a bit of it working.... hacky auto-complete branch |
Beta Was this translation helpful? Give feedback.
-
It would be really handy to build script which will automatically generate autocompletion files.
Beta Was this translation helpful? Give feedback.
All reactions