Merge pull request #78 from zenoss/feature/bash-completion

Bash completion
This commit is contained in:
Jeremy Saenz
2014-04-14 10:00:36 -07:00
7 changed files with 170 additions and 10 deletions

View File

@@ -7,6 +7,9 @@ import (
"strings"
)
// This flag enables bash-completion for all commands and subcommands
var BashCompletionFlag = BoolFlag{"generate-bash-completion", ""}
// Flag is a common interface related to parsing flags in cli.
// For more advanced flag parsing techniques, it is recomended that
// this interface be implemented.