Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for comments: Support for shell autocompletion #123

Open
ncreuschling opened this issue Nov 29, 2022 · 2 comments
Open

Request for comments: Support for shell autocompletion #123

ncreuschling opened this issue Nov 29, 2022 · 2 comments

Comments

@ncreuschling
Copy link

ncreuschling commented Nov 29, 2022

I would like to get your feedback whether you would accept a PR for shell autocompletion.

I am in the process of migrating a RubyGems from gli (GitHub) to dry-cli. gli generates output for bash and zsh autocompletion e.g. rubygem-command help -c (see documentation).

I am pretty sure hanami-cli would profit from such a feature as well.

Should I take a shot at this or is this something you are not interested?

@timriley
Copy link
Member

Yep, I'd definitely be happy to see something like this be added!

@ncreuschling
Copy link
Author

Note to self: This is somewhat tricky. Commands are not readily available as a list. CommandRegistry is tree-ish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants