From 5021d111241a935af93022af0620753f3827468e Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 4 Oct 2009 17:59:12 -0400 Subject: [PATCH] Updating the help() for bake task to include information about plugin shortcuts. --- cake/console/libs/tasks/controller.php | 6 ++++++ cake/console/libs/tasks/fixture.php | 6 ++++++ cake/console/libs/tasks/model.php | 6 ++++++ cake/console/libs/tasks/view.php | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/cake/console/libs/tasks/controller.php b/cake/console/libs/tasks/controller.php index 1516b7e36..ad806883b 100644 --- a/cake/console/libs/tasks/controller.php +++ b/cake/console/libs/tasks/controller.php @@ -456,6 +456,12 @@ class ControllerTask extends Shell { $this->hr(); $this->out("Usage: cake bake controller ..."); $this->hr(); + $this->out('Arguments:'); + $this->out(); + $this->out(""); + $this->out("\tName of the controller to bake. Can use Plugin.name"); + $this->out("\tas a shortcut for plugin baking."); + $this->out(); $this->out('Commands:'); $this->out(); $this->out("controller "); diff --git a/cake/console/libs/tasks/fixture.php b/cake/console/libs/tasks/fixture.php index 311c7d3c0..84fb33d7a 100644 --- a/cake/console/libs/tasks/fixture.php +++ b/cake/console/libs/tasks/fixture.php @@ -391,6 +391,12 @@ class FixtureTask extends Shell { $this->hr(); $this->out("Usage: cake bake fixture "); $this->hr(); + $this->out('Arguments:'); + $this->out(); + $this->out(""); + $this->out("\tName of the fixture to bake. Can use Plugin.name"); + $this->out("\tas a shortcut for plugin baking."); + $this->out(); $this->out('Commands:'); $this->out("\nfixture \n\tbakes fixture with specified name."); $this->out("\nfixture all\n\tbakes all fixtures."); diff --git a/cake/console/libs/tasks/model.php b/cake/console/libs/tasks/model.php index b6289ccd4..2ce058cf9 100644 --- a/cake/console/libs/tasks/model.php +++ b/cake/console/libs/tasks/model.php @@ -882,6 +882,12 @@ class ModelTask extends Shell { $this->hr(); $this->out("Usage: cake bake model "); $this->hr(); + $this->out('Arguments:'); + $this->out(); + $this->out(""); + $this->out("\tName of the model to bake. Can use Plugin.name"); + $this->out("\tas a shortcut for plugin baking."); + $this->out(); $this->out('Commands:'); $this->out(); $this->out("model"); diff --git a/cake/console/libs/tasks/view.php b/cake/console/libs/tasks/view.php index 6cc2ff860..4e093e6ab 100644 --- a/cake/console/libs/tasks/view.php +++ b/cake/console/libs/tasks/view.php @@ -424,6 +424,12 @@ class ViewTask extends Shell { $this->hr(); $this->out("Usage: cake bake view ..."); $this->hr(); + $this->out('Arguments:'); + $this->out(); + $this->out(""); + $this->out("\tName of the controller views to bake. Can use Plugin.name"); + $this->out("\tas a shortcut for plugin baking."); + $this->out(); $this->out('Commands:'); $this->out(); $this->out("view ");