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
|
|
@ -3,10 +3,12 @@ package tag
|
|||
import (
|
||||
"log"
|
||||
|
||||
cmdpkg "github.com/brtholomy/um/go/cmd"
|
||||
"github.com/brtholomy/um/go/flags"
|
||||
)
|
||||
|
||||
const cmd = "tag"
|
||||
// just so that copied calls into flags.Help don't have to be adjusted between files:
|
||||
const cmd = cmdpkg.Tag
|
||||
|
||||
type options struct {
|
||||
Query flags.Arg
|
||||
|
|
|
|||
Loading…
Reference in a new issue