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

Add bash completion #97

Open
5frank opened this issue Aug 22, 2018 · 0 comments
Open

Add bash completion #97

5frank opened this issue Aug 22, 2018 · 0 comments

Comments

@5frank
Copy link

5frank commented Aug 22, 2018

The CLI parser (Cobra) seems to have built-in bash_completion generator:
https://github.com/spf13/cobra/blob/master/bash_completions.md
Install script can pipe the output of this command to /usr/share/bash-completion/completions/newtmgr
I'm not that comfortable with Go, but I can give it a try when I have time...

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

No branches or pull requests

1 participant