isNonInteractive method

bool isNonInteractive(
  1. ArtisanContext ctx
)
inherited

Returns true when the operator passed --non-interactive.

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

Implementation

bool isNonInteractive(ArtisanContext ctx) =>
    ctx.input.option('non-interactive') as bool;