isDryRun method

bool isDryRun(
  1. ArtisanContext ctx
)
inherited

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

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

Implementation

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