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

shell completion #128

Open
noraj opened this issue Sep 11, 2022 · 5 comments
Open

shell completion #128

noraj opened this issue Sep 11, 2022 · 5 comments
Labels
feature new features Hacktoberfest help wanted Extra attention is needed

Comments

@noraj
Copy link
Owner

noraj commented Sep 11, 2022

generate shell / tab completion for the CLI tool

ideas:

@noraj noraj added the feature new features label Sep 11, 2022
@noraj noraj added this to the 1.5.0 milestone Sep 11, 2022
@noraj noraj added Hacktoberfest help wanted Extra attention is needed labels Sep 30, 2022
@pypas
Copy link

pypas commented Oct 1, 2022

Hey, can I work on this one?

@noraj
Copy link
Owner Author

noraj commented Oct 1, 2022

@pypas Yes please, it would be greatly appreciated!

@pypas pypas removed their assignment Oct 3, 2022
@pypas
Copy link

pypas commented Oct 3, 2022

Hey @noraj sorry, after taking a look at it couldn't figure out a nice solution for this one

@noraj
Copy link
Owner Author

noraj commented Oct 4, 2022

@pypas I understand, no worry, this is not an easy task.

@noraj
Copy link
Owner Author

noraj commented Jan 31, 2023

I just found https://github.com/crdx/docopt-compgen and I am able to generate something with haiti --help | tail +3 | docopt-compgen but it would work only for bash.

https://github.com/Infinidat/infi.docopt_completion would certainly work too since the help message is quiet language agnostic but this one works also for zsh. However it seems a bit abandoned.

@noraj noraj removed this from the 1.5.0 milestone Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new features Hacktoberfest help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants