Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.5.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFuncType ¶
Type of handler for command.
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Tap - Terminal Argument Parsing ¶
This parser - main object in tap.
Main methods:
- AddCommand(name string, handler HandlerFuncType)
- Main() - start parser
func (*Parser) AddCommand ¶
func (p *Parser) AddCommand( name string, handler HandlerFuncType, docs string, required_args []string, optional_args []string, unlimited_max_args bool, )
Add command to parser.
Click to show internal directories.
Click to hide internal directories.