Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Consider adding tab completion #104

Closed
hausdorff opened this issue Sep 3, 2017 · 2 comments
Closed

Consider adding tab completion #104

hausdorff opened this issue Sep 3, 2017 · 2 comments

Comments

@hausdorff
Copy link
Contributor

Cobra seems like it makes this easy.

@seh
Copy link

seh commented Sep 23, 2017

Possibly relevant too: c-bata/go-prompt.

@anguslees
Copy link
Contributor

This would be great. See https://github.com/spf13/cobra/blob/master/bash_completions.md for the cobra docs on how to annotate commands.

anguslees added a commit to anguslees/kubecfg-1 that referenced this issue Feb 20, 2018
Add new `completion` subcommand that generates shell completion
for bash/zsh.

(cobra.Command support for zsh completion is very limited atm)

Fixes vmware-archive#104
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants