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

[feature] shell completion #97

Open
Freed-Wu opened this issue Jul 6, 2023 · 1 comment
Open

[feature] shell completion #97

Freed-Wu opened this issue Jul 6, 2023 · 1 comment
Labels
A-CLI Area: command line interface C-feature Catagory: feature

Comments

@Freed-Wu
Copy link

Freed-Wu commented Jul 6, 2023

Can it provide completions for common shells? I guess https://docs.rs/clap_complete/latest/clap_complete can be helpful. TIA!

@oxalica oxalica added C-feature Catagory: feature A-CLI Area: command line interface labels Jul 7, 2023
@oxalica
Copy link
Owner

oxalica commented Oct 9, 2023

Currently we are using argh for command line parser, which does not support shell completion generation yet google/argh#11. Maintaining multiple shell scripts is not my favour.

The reason for using argh instead of clap is that clap will bloat compilation time and probably also the binary size, but I don't have any precise measurement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: command line interface C-feature Catagory: feature
Projects
None yet
Development

No branches or pull requests

2 participants