template-archive icon indicating copy to clipboard operation
template-archive copied to clipboard

Command autocompletion for cicero CLI

Open algomaster99 opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe. Not a problem but this shall allow running cicero commands without actually 'typing out' the whole command (and its flags if any).

Describe the solution you'd like An autocomplete feature which will complete the cicero command on pressing Tab on a bash or a ZSH terminal.

algomaster99 avatar Apr 08 '20 20:04 algomaster99

I've not seen that kind of feature done before -- it means interacting with zsh? Would love to see an example.

Note: this might end up shell dependent and people use all kinds of shell.

jeromesimeon avatar Apr 08 '20 22:04 jeromesimeon

@jeromesimeon it wil definitely become dependent on shell. But for a start, we could do for Bash first, what do you think? An example could be git. Suppose you type git com and press tab, it gets autocompleted to git commit.

algomaster99 avatar Apr 08 '20 22:04 algomaster99