Merge pull request #69 from eparis/command-annotations

Bash Autocompletion Generator
This commit is contained in:
Eric Paris
2015-04-10 23:20:17 -05:00
5 changed files with 570 additions and 0 deletions

View File

@ -348,6 +348,9 @@ Like help the function and template are over ridable through public methods.
command.SetUsageTemplate(s string)
## Generating bash completions for your command
Cobra can generate a bash completions file. If you add more information to your command these completions can be amazingly powerful and flexible. Read more about [Bash Completions](bash_completions.md)
## Debugging