isDryRun method

bool isDryRun(
  1. DowelContext ctx
)
inherited

Returns true when the operator passed --dry-run.

@param ctx The active DowelContext handed to handle. @return The boolean value of the --dry-run flag.

Implementation

bool isDryRun(DowelContext ctx) => ctx.input.option('dry-run') as bool;