mirror of
https://github.com/wahyd4/forego.git
synced 2026-08-09 05:07:05 +10:00
allow update command to be disabled
This commit is contained in:
+4
-3
@@ -14,9 +14,10 @@ type Command struct {
|
||||
Run func(cmd *Command, args []string)
|
||||
Flag flag.FlagSet
|
||||
|
||||
Usage string // first word is the command name
|
||||
Short string // `forego help` output
|
||||
Long string // `forego help cmd` output
|
||||
Disabled bool
|
||||
Usage string // first word is the command name
|
||||
Short string // `forego help` output
|
||||
Long string // `forego help cmd` output
|
||||
}
|
||||
|
||||
func (c *Command) printUsage() {
|
||||
|
||||
Reference in New Issue
Block a user