Class CommandListShell
Shows a list of commands available from the console.
- AppShell
- CommandListShell
Package: Cake\Console\Command
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/CommandListShell.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/CommandListShell.php
Properties summary
-
$tasks
publicContains tasks to load and instantiatearray
Method Summary
- _asText() protectedOutput text.
- _asXml() protectedOutput as XML
- getOptionParser() publicGets the option parser instance and configures it.
- main() publicMain function Prints out the list of shells.
- startup() publicstartup
Method Detail
_asText()source protected
_asText( array $shellList )
Output text.
Parameters
- array
$shellList
- The shell list.
_asXml()source protected
_asXml( array $shellList )
Output as XML
Parameters
- array
$shellList
- The shell list.
getOptionParser()source public
getOptionParser( )
Gets the option parser instance and configures it.
Returns
ConsoleOptionParser
Properties detail
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.10/class-CommandListShell.html