Skip to content

Commit

Permalink
docs on command
Browse files Browse the repository at this point in the history
  • Loading branch information
goetas committed Dec 22, 2019
1 parent ef9d12a commit 4c7a71b
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use function is_writable;

/**
* The ExecutCommand class is responsible for executing migration versions up or down manually.
* The ExecuteCommand class is responsible for executing migration versions up or down manually.
*/
class ExecuteCommand extends DoctrineCommand
{
Expand Down Expand Up @@ -71,7 +71,7 @@ protected function configure() : void
The <info>%command.name%</info> command executes migration versions up or down manually:
<info>%command.full_name% FQCN</info>
If no <comment>--up</comment> or <comment>--down</comment> option is specified it defaults to up:
<info>%command.full_name% FQCN --down</info>
Expand All @@ -87,6 +87,11 @@ protected function configure() : void
Or you can also execute the migration without a warning message which you need to interact with:
<info>%command.full_name% FQCN --no-interaction</info>
All the previous commands accept multiple migration versions, allowing you run execute more than
one migration at once:
<info>%command.full_name% FQCN-1 FQCN-2 ...FQCN-n </info>
EOT
);

Expand Down

0 comments on commit 4c7a71b

Please sign in to comment.