mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 12:55:31 +00:00
Update cheatsheets
This commit is contained in:
41
cake
Normal file
41
cake
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cake
|
||||
|
||||
> The command-line 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`
|
||||
Reference in New Issue
Block a user