1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 13:55:24 +02:00
tldr/pages/common/cake.md
Managor 4b1e0196d1
common/*: reduce usage of "command-line" (part 3) (#16951)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-28 13:12:44 +00:00

613 B

cake

The processor for the CakePHP framework. More information: https://cakephp.org.

  • Display basic information about the current app and available commands:

cake

  • List available routes:

cake routes

  • Clear configuration caches:

cake cache clear_all

  • Build the metadata cache:

cake schema_cache build --connection {{connection}}

  • Clear the metadata cache:

cake schema_cache clear

  • Clear a single cache table:

cake schema_cache clear {{table_name}}

  • Start a development web server (defaults to port 8765):

cake server

  • Start a REPL (interactive shell):

cake console