summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-05-06 18:55:54 +0300
committerEyal Posener <[email protected]>2017-05-06 18:55:54 +0300
commit4f47fe9246e715f11272d6323343a12797d4d13f (patch)
tree65eb8cd82bbb5da33c548b5510f91f8017b04330 /command.go
parentd33bac720bcaf13a5ee9f6f165293183d2e3e24d (diff)
Add easy way to install the bash completion
Diffstat (limited to 'command.go')
-rw-r--r--command.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/command.go b/command.go
index 32c5456..253f8e7 100644
--- a/command.go
+++ b/command.go
@@ -5,6 +5,7 @@ type Commands map[string]Command
type Flags map[string]Predicate
type Command struct {
+ Name string
Sub Commands
Flags Flags
Args Predicate