Made bash completion command optional; still need to update documentation

This commit is contained in:
Summer Mousa
2014-04-12 08:32:53 -05:00
parent 0b29bee364
commit 3a10545f91
4 changed files with 38 additions and 16 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.