Documentation ¶
Index ¶
Constants ¶
View Source
const ( StringType = iota IntType = iota BoolType = iota )
Variables ¶
This section is empty.
Functions ¶
func ParseNonPositional ¶
Types ¶
type Argument ¶
type Argument interface { GetInfo() ArgumentInfo // contains filtered or unexported methods }
type ArgumentInfo ¶
type IntArgument ¶
type IntArgument struct { Variable *int Info ArgumentInfo }
func (IntArgument) GetInfo ¶
func (arg IntArgument) GetInfo() ArgumentInfo
type Option ¶
type Option struct { Variable *bool Info ArgumentInfo }
func (Option) GetInfo ¶
func (arg Option) GetInfo() ArgumentInfo
type StringArgument ¶
type StringArgument struct { Variable *string Info ArgumentInfo }
func (StringArgument) GetInfo ¶
func (arg StringArgument) GetInfo() ArgumentInfo
Click to show internal directories.
Click to hide internal directories.