Class CompletionShell
Provide command completion shells such as bash.
- AppShell
- CompletionShell
Properties summary
-
array
Contains tasks to load and instantiate
Method Summary
- Emit results as a string, space delimited
- list commands
- Guess autocomplete from the whole argument string
- Gets the option parser instance and configures it.
- Not called by the autocomplete shell - this is for curious users
- list options for the named command
- Echo no header by overriding the startup method
- list subcommands for the named command
Method Detail
_output()source protected
_output( array $options array() )
Emit results as a string, space delimited
Parameters
- array
$options
optional array() - The options to output
commands()source public
commands( )
list commands
fuzzy()source public
fuzzy( )
Guess autocomplete from the whole argument string
getOptionParser()source public
getOptionParser( )
Gets the option parser instance and configures it.
Returns
ConsoleOptionParser
main()source public
main( )
Not called by the autocomplete shell - this is for curious users
options()source public
options( )
list options for the named command
startup()source public
startup( )
Echo no header by overriding the startup method
subCommands()source public
subCommands( )
list subcommands for the named command
Properties detail
public array
Contains tasks to load and instantiate