summaryrefslogtreecommitdiff
path: root/command.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-05-07 07:59:42 +0300
committerEyal Posener <[email protected]>2017-05-07 07:59:42 +0300
commitfd5c13f7ed2e9a3e3a82fa6a4c6ffe649f3f32f2 (patch)
tree796dca6d948ba247381b52744a2d4126268e83ff /command.go
parentc94813be30b569795e953937612a7df5a0741861 (diff)
Remove Name from Command struct
Diffstat (limited to 'command.go')
-rw-r--r--command.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/command.go b/command.go
index b658af3..f2b8354 100644
--- a/command.go
+++ b/command.go
@@ -4,13 +4,6 @@ package complete
// It holds the data that enables auto completion of a given typed command line
// Command can also be a sub command.
type Command struct {
- // Name is the name of command,
- // IMPORTANT: For root command - it must be the same name as the program
- // that the auto complete completes. So if the auto complete
- // completes the 'go' command, Name must be equal to "go".
- // It is optional for sub commands.
- Name string
-
// Sub is map of sub commands of the current command
// The key refer to the sub command name, and the value is it's
// Command descriptive struct.