twitchdev/twitch-cli

Cobra subcommand completion?

Opened this issue · 1 comments

Just wondering why the Cobra standard shell completion support isn't available from this command-line tool. Not super critical, just noticed that . <(twitch completion bash) didn't work and was wondering why. Great job on this tool! I love it.

I was wondering the same.

The issue is that this project uses v1.1.3 of spf13/cobra, but automatic completions wasn't added until v1.2.0 (Released a few months later).

https://github.com/spf13/cobra/releases/tag/v1.2.0