Namespace Cake\Console

Namespaces summary

Class summary

  • Collection for Commands.

  • Run CLI commands for the provided application.

  • 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()

  • A wrapper around the various IO operations shell tasks need to do.

  • 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()

  • Base class for Helpers.

  • Registry for Helpers. Provides features for lazily loading helpers.

  • 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.

  • Registry for Tasks. Provides features for lazily loading tasks.

Interface summary

© 2005–2018 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/3.5/namespace-Cake.Console.html