Class CompletionShell
Provide command completion shells such as bash.
- AppShell
- CompletionShell
Package: Cake\Console\Command
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/CompletionShell.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Location: Cake/Console/Command/CompletionShell.php
Properties summary
-
$tasks
publicarray
Contains tasks to load and instantiate
Method Summary
-
_output() protected
Emit results as a string, space delimited -
commands() public
list commands -
fuzzy() public
Guess autocomplete from the whole argument string -
getOptionParser() public
Gets the option parser instance and configures it. -
main() public
Not called by the autocomplete shell - this is for curious users -
options() public
list options for the named command -
startup() public
Echo no header by overriding the startup method -
subCommands() public
list subcommands for the named command
Method Detail
_output() protected ¶
_output( array $options = array() )
Emit results as a string, space delimited
Parameters
- array $options optional array()
- The options to output