Class CommandListShell
Shows a list of commands available from the console.
- AppShell
- CommandListShell
Package: Cake\Console\Command
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Console/Command/CommandListShell.php
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/Console/Command/CommandListShell.php
Method Summary
-
_appendShells() protected
Scan the provided paths for shells, and append them into $shellList -
_asSorted() protected
Generates the shell list sorted by where the shells are found. -
_asText() protected
Output text. -
_asXml() protected
Output as XML -
_getShellList() protected
Gets the shell command listing. -
getOptionParser() public
get the option parser -
main() public
Main function Prints out the list of shells. -
startup() public
startup
Method Detail
_appendShells() protected ¶
_appendShells( string $type , array $shells , array $shellList )
Scan the provided paths for shells, and append them into $shellList
Parameters
- string $type
- array $shells
- array $shellList
Returns
array
_asSorted() protected ¶
_asSorted( array $shellList )
Generates the shell list sorted by where the shells are found.
Parameters
- array $shellList