Access dryRun flag within custom generator #33731
DavidVollmers
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I could not find anything helpful on this.
When writing my own generator I would like to know if it is ran with dry run enabled. I cannot find any documentation on how to access the dryRun option from the generator command within my generator function.
As a workaround I can simply check the
process.argvarray, but that feels like a hack.Beta Was this translation helpful? Give feedback.
All reactions