Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

2 participants