add short and long descriptions of the commands

This commit is contained in:
2020-08-07 22:09:40 -05:00
parent 617c2fccf9
commit 491870e247
6 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,8 @@ type Command struct {
Func func(CmdArgs) (int, error)
Flags *flag.FlagSet
Use string
Short string
Long string
}
var commandRegistry = make(map[string]Command)