The arguments passed to the application
Set the action for this command. The action callback receives both the current command, and the arguments (Note this is one or more arguments, depending on the command definition. Mandatory or optional positional arguments are passed first, while the last element consists of the flags passed to the command)
The callback to run when this command is called.
Define a new sub-command.
The new sub-command name
The sub-command description, or translation key if a translator is used.
A callback to construct the newly defined sub-command.
Write the given data to the standard output, or, to the expected file, if an output was configured. Note that when outputting to a file, if the file does not exists, it gets created. If it already exists, then the output is appended to the previously defined contents of that file.
The data to output
The CLIApp class is the class to extend in order to define your CLI based application.