21 lines
233 B
Go
21 lines
233 B
Go
|
package util
|
||
|
|
||
|
import "flag"
|
||
|
|
||
|
type Command struct {
|
||
|
Run func(cmd *Command, args []string)
|
||
|
|
||
|
UsageLine string
|
||
|
Short string
|
||
|
Long string
|
||
|
Flag flag.FlagSet
|
||
|
|
||
|
CustomFlags bool
|
||
|
|
||
|
Command []*Command
|
||
|
}
|
||
|
|
||
|
func ExecCMDs() {
|
||
|
|
||
|
}
|