runProjectCommand method

  1. @override
Future<void> runProjectCommand()
override

Implementation

@override
Future<void> runProjectCommand() async {
  final restoreSystem = RestoreSystem(context);
  final backupId = argResults?['id'] as String?;
  final dryRun = argResults?['dry-run'] as bool? ?? false;

  await restoreSystem.restore(backupId: backupId, dryRun: dryRun);
}