-
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
kind: featureUser-facing enhancementUser-facing enhancement
Description
I've been building a track, so I've been using configlet a lot. With the plethora of subcommands and options, I figured tab completion would be handy. My shell is fish, so that's where I started.
But then I thought "how to install the completions"? How about this: add an option to fetch-configlet to download a shell-specific completions file, and emit instructions on how to source it into the user's shell.
Example:
$ bin/fetch-configlet -c fish
To enable completions: source bin/configlet-completions.fish
$ bin/fetch-configlet -c bash
To enable completions: . bin/configlet-completions.bash
$ ls -1 bin
configlet
configlet-completions.bash
configlet-completions.fish
fetch-configlet
...Do you think this would be useful?
Metadata
Metadata
Assignees
Labels
kind: featureUser-facing enhancementUser-facing enhancement
Type
Projects
Status
Done