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

Use CLI library to handle completion #347

Open
josephlr opened this issue Feb 18, 2022 · 1 comment
Open

Use CLI library to handle completion #347

josephlr opened this issue Feb 18, 2022 · 1 comment

Comments

@josephlr
Copy link
Member

Both github.com/urfave/cli and github.com/spf13/cobra have ways to automatically generate the bash completion information from our command structures.

The best long-term strategy is probably to switch to Cobra, and just use their functionality. Then users can get their completions just by running:

fscrypt completion bash

We would then be able to move completion logic into Go, and gain support for Bash, ZSH, and fish

@ghost
Copy link

ghost commented Oct 10, 2022

I am using Zsh. Please make completion in Zsh a reality!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants