RecreateCommand constructor

RecreateCommand(
  1. CommandContextFactory commandContextFactory
)

Implementation

RecreateCommand(super.commandContextFactory)
{
  argParser.addFlag(migrateFlag,
    abbr: 'm',
    help: 'Run migrations after recreating the database. '
      '${bold('Optional')}.\n'
      'It is ${bold('off')} by default. If enabled, applies all available '
      'migrations to the newly created database.',
    defaultsTo: migrateByDefault,
  );
}