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 completions #311

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

Shell completions #311

Freed-Wu opened this issue Jul 6, 2023 · 1 comment
Labels
enhancement New feature or request needs triage

Comments

@Freed-Wu
Copy link

Freed-Wu commented Jul 6, 2023

Describe the solution you'd like
Can it provide completions for common shells? I guess https://docs.rs/clap_complete/latest/clap_complete can be helpful. TIA!

@Freed-Wu Freed-Wu added enhancement New feature or request needs triage labels Jul 6, 2023
@zimbatm
Copy link
Member

zimbatm commented Jul 12, 2023

I started working on this and got stuck because Shell doesn't implement the Generator trait. If anybody wants to take over: https://github.com/numtide/treefmt/tree/treefmt-complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

2 participants