Searched defs:CmdUsage (Results 1 – 2 of 2) sorted by relevance
107 type CmdUsage struct { struct108 Summary string // in the style of the Name section of a Unix 'man' page, omitting the name109 Args string // a brief synopsis of the command's arguments (only)110 …il []string // zero or more sentences in the style of the Description section of a Unix 'man' page114 Async bool123 RegexpArgs func(rawArgs ...string) []int
58 func Command(usage CmdUsage, run func(*State, ...string) (WaitFunc, error)) Cmd {