Skip to content

[docs] make dump-rectors command open to public#3265

Merged
kodiakhq[bot] merged 3 commits intomasterfrom
dump-rectors-generic
Apr 26, 2020
Merged

[docs] make dump-rectors command open to public#3265
kodiakhq[bot] merged 3 commits intomasterfrom
dump-rectors-generic

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Apr 26, 2020

Closes #3208

How to Generate your own Rector Overview in Markdown?

E.g. AllRectorsOverview.md

# prints markdown to the console output
vendor/bin/rector dump-rectors 

# prints markdown to the file
vendor/bin/rector dump-rectors > all_rectors.md

# prints rules found in specific directory - good for your own sets
vendor/bin/rector dump-rectors my_project/rector/src/ > all_rectors.md

@TomasVotruba TomasVotruba force-pushed the dump-rectors-generic branch from 0e2c123 to b54a2f7 Compare April 26, 2020 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How can I generate docs using dump-rectors in Drupal-Rector?

1 participant