Class CommandListShell

Shows a list of commands available from the console.

AppShell
Extended by CommandListShell
Package: Cake\Console\Command
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/CommandListShell.php

Properties summary

  • $tasks public
    array
    Contains tasks to load and instantiate

Method Summary

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

main()source public

main( )

Main function Prints out the list of shells.

startup()source public

startup( )

startup

Properties detail

$taskssource

public array

Contains tasks to load and instantiate

array('Command')

© 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