Skip to content
This repository has been archived by the owner on Aug 19, 2018. It is now read-only.

Commit

Permalink
Add help for database:fixtures:run command
Browse files Browse the repository at this point in the history
  • Loading branch information
glynnforrest committed Nov 5, 2015
1 parent fc88186 commit 0c41a72
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/Neptune/Command/DatabaseFixturesRunCommand.php
Expand Up @@ -17,7 +17,28 @@
class DatabaseFixturesRunCommand extends Command
{
protected $name = 'database:fixtures:run';
protected $description = 'Run fixtures';
protected $description = 'Run database fixtures';
protected $help = <<<HELP
Run database fixtures from a group of modules.
Use <info>--modules</info> and <info>--exclude-modules</info> to specify which modules to use.
<info>--modules</info> always takes precedence over <info>--exclude-modules</info>.
Examples:
<info>database:fixtures:run --modules app --modules admin</info>
'app' and 'admin' modules
<info>database:fixtures:run --exclude-modules admin</info>
All modules except 'admin'
<info>database:fixtures:run --exclude-modules admin --modules admin</info>
'admin' module only
<info>database:fixtures:run</info>
All modules
HELP;

protected function configure()
{
Expand Down

0 comments on commit 0c41a72

Please sign in to comment.