Skip to content

Commit

Permalink
Update BakeShell output
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Sep 29, 2014
1 parent 72d2765 commit c6566eb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Shell/BakeShell.php
Expand Up @@ -76,10 +76,9 @@ public function main() {
$this->out('Add your database connection information to config/app.php.');
return false;
}
$this->out('The following commands can be used to generate skeleton code for your application.');
$this->out('');
$this->out('<info>Available bake commands:</info>');
$this->out('');
$this->out('The following commands can be used to generate skeleton code for your application.', 2);
$this->out('<info>Available bake commands:</info>', 2);
$this->out('- all');
foreach ($this->tasks as $task) {
list($p, $name) = pluginSplit($task);
$this->out('- ' . Inflector::underscore($name));
Expand Down Expand Up @@ -237,7 +236,7 @@ public function getOptionParser() {
' If run with no command line arguments, Bake guides the user through the class creation process.' .
' You can customize the generation process by telling Bake where different parts of your application are using command line arguments.'
)->addSubcommand('all', [
'help' => 'Bake a complete MVC skeleton. Optional: <name> of a model.',
'help' => 'Bake a complete MVC skeleton.',
])->addOption('connection', [
'help' => 'Database connection to use in conjunction with `bake all`.',
'short' => 'c',
Expand Down

0 comments on commit c6566eb

Please sign in to comment.