CriticalI_CommandA CriticalI_Command implements a command that can be used with the command-line criticali utility. This is the base class which all implemented commands must extend.
Located in /Core/lib/CriticalI/Command.php (line 11)
| Class | Description |
|---|---|
CriticalI_Command_ProjectEnvironment
|
A base class for writing commands that must run within a project's environment (as opposed to just within the repository environment). |
CriticalI_Command
__construct
(string $name, [string $summary = ''], [string $description = ''], [array $optionSpec = null])
Constructor __construct (line 30)
Constructor
execute (line 76)
Execute the command
help_string (line 60)
Returns a usage/help statement for the command
name (line 44)
Returns the name of the command
prompt (line 104)
Prompt the user and return the user's response
prompt_confirm (line 129)
Prompt the user with a yes/no question and return the user's response as a boolean
run_command (line 95)
Internal implementation of the command. This must be implemented by all sub classes. The properties globalOptions, options, and args will have been populated when this method is called.
summary (line 52)
Returns the summary of the command
Documentation generated on Wed, 25 Apr 2012 09:46:42 -0700 by phpDocumentor 1.4.3