cmd pkg for Subcommand type, use everywhere
This commit is contained in:
parent
77e3e23446
commit
c434005d39
7 changed files with 52 additions and 45 deletions
11
cmd/cmd.go
Normal file
11
cmd/cmd.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package cmd
|
||||
|
||||
type Subcommand string
|
||||
|
||||
const (
|
||||
Tag Subcommand = "tag"
|
||||
Next Subcommand = "next"
|
||||
Last Subcommand = "last"
|
||||
Sort Subcommand = "sort"
|
||||
Help Subcommand = "help"
|
||||
)
|
||||
Loading…
Reference in a new issue