bakeコマンドを使うと、モデル(Model) / ビュー(Template) / コントローラー(Controller)などの雛形ファイルを自動生成することができる。
※Railsのrakeコマンドと同じ
◯ bakeコマンド一覧
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # bin/cake bake The following commands can be used to generate skeleton code for your application. Available bake commands: - all - behavior - cell - component - controller - fixture - form - helper - mailer - middleware - migration - migration_diff - migration_snapshot - model - plugin - seed - shell - shell_helper - task - template - test By using `cake bake [name]` you can invoke a specific bake task. |