Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagAlias = "alias" TagDesc = "desc" TagType = "type" TagDefault = "default" TagHasValue = "hasValue" TagRequired = "required" TagArray = "array" TagValueArg = "arg" TagValueOpt = "opt" )
Variables ¶
View Source
var RunCommand string
Functions ¶
func InitCommand ¶
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command Struct
func (*Command) GetCommand ¶
Get called command, returning string of the called command name @return string
func (*Command) SetCommand ¶
Set called command @params string cmd @return void
Click to show internal directories.
Click to hide internal directories.