Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class InitBundleCommand extends Command
class BundleInitCommand extends Command
{
/**
* @see Command
Expand All @@ -38,9 +38,9 @@ protected function configure()
new InputOption('format', '', InputOption::VALUE_REQUIRED, 'Use the format for configuration files (php, xml, or yml)', 'yml')
))
->setHelp(<<<EOT
The <info>init:bundle</info> command generates a new bundle with a basic skeleton.
The <info>bundle:init</info> command generates a new bundle with a basic skeleton.

<info>./app/console init:bundle "Vendor\HelloBundle" src [bundleName]</info>
<info>./app/console bundle:init "Vendor\HelloBundle" src [bundleName]</info>

The bundle namespace must end with "Bundle" (e.g. <comment>Vendor\HelloBundle</comment>)
and can be placed in any directory (e.g. <comment>src</comment>).
Expand All @@ -49,7 +49,7 @@ protected function configure()
be the concatenation of the namespace segments (e.g. <comment>VendorHelloBundle</comment>).
EOT
)
->setName('init:bundle')
->setName('bundle:init')
;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
class InitAclCommand extends Command
class AclInitCommand extends Command
{
/**
* @see Command
*/
protected function configure()
{
$this
->setName('init:acl')
->setName('acl:init')
;
}

Expand Down