Documentation ¶
Overview ¶
Package cli provides access to commuter over the command line via Stdin, Stdout, and command line arguments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgParser ¶
type ArgParser struct {
Args []string
}
ArgParser parses input arguments from the command line.
func NewArgParser ¶
NewArgParser initializes and returns an ArgParser.
func (*ArgParser) Parse ¶
func (a *ArgParser) Parse(conf *cmd.Configuration, s cmd.StorageProvider) (cmd.RunnerValidator, error)
Parse attempts to determine which command is being executed, parse its flags, and return it.
Click to show internal directories.
Click to hide internal directories.