execute method

  1. @override
  2. @protected
Future<int> execute(
  1. CommandContext context
)
override

Implementation

@override
@protected
Future<int> execute(final CommandContext context) async
{
  const console = Console();
  final cleanAction = CleanAction(
    env: context.env,
    password: context.password,
    migrationsPath: context.config.migrationsPath,
    handler: const CleaningReporter(console),
    console: console,
  );
  return await cleanAction.execute();
}