runWithConfig method

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

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

Implementation

@override
Future<void> runWithConfig(
  final Configuration<AdminProjectDeleteOption> commandConfig,
) async {
  final projectId = commandConfig.value(AdminProjectDeleteOption.projectId);

  await ProjectAdminCommands.deleteProject(
    runner.serviceProvider.cloudApiClient,
    logger: logger,
    projectId: projectId,
  );
}