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

type ArgumentType int

const (
	ArgString ArgumentType = iota
7
	ArgFile
8 9 10 11 12 13 14
)

type Argument struct {
	Name               string
	Type               ArgumentType
	Required, Variadic bool
}