Documentation

CLI

Namespaces

ParamGroup

Interfaces, Classes, Traits and Enums

DebugParams
A simple object for debugging Params.
Exception
Fakeserver
A way to emulate a web server from tests or the command line.
Param
A simple class representing a parameter for a command line script.
ParamGroup
A class representing a related group of parameters.
Params
A class representing the parameters/options for a CLI script.
ParamsApp
An abstract base class for making your own CLI app which can parse command line options using the Params class.
HasError
A trait for application classes to use which provides a couple methods for handling errors and displaying error messages.
HasHelp
A trait for application classes to use which provides a default implementation of the 'help', 'usage', and 'help_usage' commands.
HasParams
A trait for application classes to use which provides some useful wrapper methods using the Params class.
ParamOpts
A trait that provides a method for the Param* classes constructors to initialize instance properties using an associative array of option names. Exceptions and aliases are also supported.

Search results