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

FR: add "completion" subcommand #107

Open
pataquets opened this issue Apr 7, 2024 · 1 comment
Open

FR: add "completion" subcommand #107

pataquets opened this issue Apr 7, 2024 · 1 comment
Milestone

Comments

@pataquets
Copy link

Add a completion subcommand which would output an appropriate shell script to provide shell command completion.

No Rust programmer here, but looks like clap has already such a feature 🚀.

@blacknon blacknon added this to the 0.3.15 milestone Jun 9, 2024
@KAGEYAM4
Copy link

Not sure this is related but how to get completion similar to watch command. For example ->

  • watch systemctl status <tab-completion> shows completion for systemctl command.
    but hwatch systemctl status <tab-completion> dosen't work.

https://github.com/scop/bash-completion/blob/main/completions/watch can be used for reference.

@blacknon blacknon modified the milestones: 0.3.15, 0.3.16 Jun 11, 2024
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

3 participants