Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ttz = New("ttz", "A simple greeter program")
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // The command name, used to match the command line argument e.g. clitool <Name>. Name string // Short is used in the list of commands message e.g. "command does xyz" Short string // Long is used in the usage message from the help command e.g.: // "Usage: <Name> [args] // // "<Long>" Long string // Cmd is the function that is called when the command is matched. Cmd func() }
Click to show internal directories.
Click to hide internal directories.