2019-05-28 18:50:04 +01:00
|
|
|
# cake
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> The command-line processor for the CakePHP framework.
|
2019-05-28 18:50:04 +01:00
|
|
|
> More information: <https://cakephp.org>.
|
|
|
|
|
|
|
|
- Display basic information about the current app and available commands:
|
|
|
|
|
|
|
|
`cake`
|
|
|
|
|
|
|
|
- Display a list of 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`
|
|
|
|
|
2021-09-12 15:03:27 +01:00
|
|
|
- Start a REPL (interactive shell):
|
2019-05-28 18:50:04 +01:00
|
|
|
|
|
|
|
`cake console`
|