runWithConfig method

  1. @override
Future<void> runWithConfig(
  1. Configuration<DbScheduleUnsetOption> commandConfig
)
override

Runs this command with prepared configuration (options). Subclasses should override this method.

Implementation

@override
Future<void> runWithConfig(
  final Configuration<DbScheduleUnsetOption> commandConfig,
) async {
  await DbBackupCommands.disableSchedule(
    runner.serviceProvider.cloudApiClient,
    logger: logger,
    projectId: commandConfig.value(DbScheduleUnsetOption.projectId),
  );
}