diff options
| author | Eyal Posener <[email protected]> | 2017-05-05 18:06:31 +0300 |
|---|---|---|
| committer | Eyal Posener <[email protected]> | 2017-05-05 18:06:31 +0300 |
| commit | 6311b602abc0f3c0a854c244fca147101b623eba (patch) | |
| tree | db122918e9cc3db3da252dc022105d72c941d24f /command.go | |
| parent | bc26c054b7f27739eda76f9bbd0addb5e80e9252 (diff) | |
Add plural forms for less verbose declarations
Diffstat (limited to 'command.go')
| -rw-r--r-- | command.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,8 +1,12 @@ package complete +type Commands map[string]Command + +type Flags map[string]FlagOptions + type Command struct { - Sub map[string]Command - Flags map[string]FlagOptions + Sub Commands + Flags Flags } // options returns all available complete options for the given command |
