runWithOutput method
Future<void>
runWithOutput(
- Configuration<
DbScheduleUnsetOption> commandConfig, - CommandOutput output
override
Runs this command with prepared configuration and output.
Subclasses should override this method.
Implementation
@override
Future<void> runWithOutput(
final Configuration<DbScheduleUnsetOption> commandConfig,
final CommandOutput output,
) async {
await renderCommand(
output,
operation: () => DbBackupOperations.disableSchedule(
runner.serviceProvider.cloudApiClient,
projectId: commandConfig.value(DbScheduleUnsetOption.projectId),
),
textOutputUi: const BackupScheduleUnsetTextUi(),
);
}