Package Cake\Console

Package summary

Class summary

  • Error Handler for Cake console. Does simple printing of the exception that occurred and the stack trace of the error.

  • Object wrapper for interacting with stdin

  • An object to represent a single argument used in the command line. ConsoleOptionParser creates these when you use addArgument()

  • An object to represent a single option used in the command line. ConsoleOptionParser creates these when you use addOption()

  • An object to represent a single subcommand used in the command line. Created when you call ConsoleOptionParser::addSubcommand()

  • Handles parsing the ARGV in the command line and provides support for GetOpt compatible option definition. Provides a builder pattern implementation for creating shell option parsers.

  • Object wrapper for outputting information from a shell application. Can be connected to any stream resource that can be used with fopen()

  • HelpFormatter formats help for console shells. Can format to either text or XML formats. Uses ConsoleOptionParser methods to generate help.

  • Base class for command-line utilities for automating programmer chores.

  • Shell dispatcher handles dispatching cli commands.

  • Collection object for Tasks. Provides features for lazily loading tasks, and firing callbacks on loaded tasks.

© 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/package-Cake.Console.html