argument.go 202 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
package commands

type ArgumentType int

const (
	ArgString ArgumentType = iota
	ArgPath
)

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