Class CommandListShell
Shows a list of commands available from the console.
- AppShell
- CommandListShell
Package: Cake\Console\Command
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/CommandListShell.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/CommandListShell.php
Method Summary
-
_appendShells() protected
Scan the provided paths for shells, and append them into $shellList -
_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