This is the command parser class used for handling the webgen command line interface.
After creating an instance, the
parse method can be used for parsing the command line arguments and executing the requested command.
The website directory. Default: the value of the WEBGEN_WEBSITE environment variable or the current working directory.
Note: Only available after the
website method has been called (which is always the case when a command is executed).
The log level. Default: Logger::INFO
Specifies whether verbose output should be used.
Public Class Methods
Create a new
Public Instance Methods
Utility method for getting the
Returns a new website object (not an already created one) if
force_new is set to