File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,24 @@ protected function configure(): void
4949 {
5050 $ this ->setName ('process ' );
5151 $ this ->setDescription ('Upgrades or refactors source code with provided rectors ' );
52+ $ this ->setHelp (<<<'EOF'
53+ The <info>%command.name%</info> command will run Rector main feature:
54+
55+ <info>%command.full_name%</info>
56+
57+ To specify a folder or a file, you can run:
58+
59+ <info>%command.full_name% src/Controller</info>
60+
61+ You can also dry run to see the changes that Rector will make with the <comment>--dry-run</comment> option:
62+
63+ <info>%command.full_name% src/Controller --dry-run</info>
64+
65+ It's also possible to get debug via the <comment>--debug</comment> option:
66+
67+ <info>%command.full_name% src/Controller --dry-run --debug</info>
68+ EOF
69+ );
5270
5371 ProcessConfigureDecorator::decorate ($ this );
5472
You can’t perform that action at this time.
0 commit comments