If any of the Commands have any handlers specified. Then those will be called in order of appearance on the command line by calling this function
Returns a string that represents a block of text that can be output to stdout to display a help message
Parses the command line arguments according to the set of Commandss that are passed in.
Returns a string that is a stringified object of keys and values denoting commands and their values and options (if present)
The ProgramOptions that are associated with this command if any was passed in. If no ProgramOptions where passed as an argument then this aliases to a Void pseudo type.
You can configure a ProgramCommands object with a number of Commands and then use it to parse an list of command line arguments
The object will generate its member variables from the Commands you pass in, for e.g.
After you parse command line arguments, the commands that are encountered on the command line become "activated" and can be checked by casting them to a boolean, i.e.
You can also assign "handler" to a command and use the executeHandlers function to call them for the commands that were activated.