argument.go 219 Bytes
Newer Older
1 2 3 4 5 6
package commands

type ArgumentType int

const (
	ArgString ArgumentType = iota
7
	ArgFile
8 9 10
)

type Argument struct {
11 12 13 14 15
	Name        string
	Type        ArgumentType
	Required    bool
	Variadic    bool
	Description string
16
}