fscrypt icon indicating copy to clipboard operation
fscrypt copied to clipboard

Use CLI library to handle completion

Open josephlr opened this issue 3 years ago • 1 comments

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

josephlr avatar Feb 18 '22 02:02 josephlr

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

ghost avatar Oct 10 '22 11:10 ghost