CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Reporting Security Issues
    • Privacy Policy
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Get Involved
    • Issues (GitHub)
    • Bakery
    • Featured Resources
    • Training
    • Meetups
    • My CakePHP
    • CakeFest
    • Newsletter
    • Linkedin
    • YouTube
    • Facebook
    • Twitter
    • Mastodon
    • Help & Support
    • Forum
    • Stack Overflow
    • Slack
    • Paid Support
CakePHP

C CakePHP 2.5 API

  • Overview
  • Tree
  • Deprecated
  • Version:
    • 2.5
      • 4.2
      • 4.1
      • 4.0
      • 3.9
      • 3.8
      • 3.7
      • 3.6
      • 3.5
      • 3.4
      • 3.3
      • 3.2
      • 3.1
      • 3.0
      • 2.10
      • 2.9
      • 2.8
      • 2.7
      • 2.6
      • 2.5
      • 2.4
      • 2.3
      • 2.2
      • 2.1
      • 2.0
      • 1.3
      • 1.2

Packages

  • Cake
    • Cache
      • Engine
    • Configure
    • Console
      • Command
        • Task
    • Controller
      • Component
        • Acl
        • Auth
    • Core
    • Error
    • Event
    • I18n
    • Log
      • Engine
    • Model
      • Behavior
      • Datasource
        • Database
        • Session
      • Validator
    • Network
      • Email
      • Http
    • Routing
      • Filter
      • Route
    • TestSuite
      • Coverage
      • Fixture
      • Reporter
    • Utility
    • View
      • Helper

Classes

  • AclShell
  • ApiShell
  • BakeShell
  • CommandListShell
  • CompletionShell
  • ConsoleShell
  • I18nShell
  • SchemaShell
  • ServerShell
  • TestShell
  • TestsuiteShell
  • UpgradeShell

Class CompletionShell

Provide command completion shells such as bash.

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

Properties summary

  • $tasks public
    array
    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

commands() public ¶

commands( )

list commands

fuzzy() public ¶

fuzzy( )

Guess autocomplete from the whole argument string

getOptionParser() public ¶

getOptionParser( )

Gets the option parser instance and configures it.

Returns
ConsoleOptionParser

main() public ¶

main( )

Not called by the autocomplete shell - this is for curious users

options() public ¶

options( )

list options for the named command

startup() public ¶

startup( )

Echo no header by overriding the startup method

subCommands() public ¶

subCommands( )

list subcommands for the named command

Properties detail

$tasks ¶

public array

Contains tasks to load and instantiate

array('Command')
OpenHub
Rackspace
Rackspace
  • Business Solutions
  • Showcase
  • Documentation
  • Book
  • API
  • Videos
  • Reporting Security Issues
  • Privacy Policy
  • Logos & Trademarks
  • Community
  • Get Involved
  • Issues (GitHub)
  • Bakery
  • Featured Resources
  • Training
  • Meetups
  • My CakePHP
  • CakeFest
  • Newsletter
  • Linkedin
  • YouTube
  • Facebook
  • Twitter
  • Mastodon
  • Help & Support
  • Forum
  • Stack Overflow
  • Slack
  • Paid Support

Generated using CakePHP API Docs