Files
tldr/pages.zh/common/cake.md

36 lines
593 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 蛋糕
> CakePHP 框架的命令行处理器。
> 更多信息:<https://cakephp.org>。
- 显示当前应用程序和可用命令的基本信息:
`cake`
- 列出可用的路由:
`cake routes`
- 清除配置缓存:
`cake cache clear_all`
- 构建元数据缓存:
`cake schema_cache build --connection {{connection}}`
- 清除元数据缓存:
`cake schema_cache clear`
- 清除单个缓存表:
`cake schema_cache clear {{table_name}}`
- 启动开发 Web 服务器(默认端口为 8765
`cake server`
- 启动 REPL交互式命令行
`cake console`