Documentation ¶
Overview ¶
Package cmd is used to parse the command line arguments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Parser is the singleton in this package that allocates a ConfigParser struct, // thus it holds the information passed in the command line to Macaw Parser = new(ConfigParser) )
Functions ¶
This section is empty.
Types ¶
type ConfigParser ¶
type ConfigParser struct {
// contains filtered or unexported fields
}
ConfigParser is the struct that contains the information passed via cmd
func (*ConfigParser) Debug ¶
func (c *ConfigParser) Debug() bool
Debug is responsible to return whether we are in debug mode or not
Click to show internal directories.
Click to hide internal directories.