Open Freed-Wu opened 2 years ago
@Freed-Wu Do you have any details on how to achieve such a thing?
Maybe https://docs.rs/clap_complete/latest/clap_complete can be helpful?
Or that projects support completions (e.g. ripgrep, fd, exa, github-cli, etc) can be a reference.
Ah... thats what you mean. I think this is pretty easy https://jmtirado.net/shell-completion-with-cobra-and-go/
Now, scc has many command options. If it can provide shell completion (bash/zsh/fish/...), it will be more convenient to use. Thanks.