run method
Runs this command.
The return value is wrapped in a Future if necessary and returned by
CommandRunner.runCommand.
Implementation
@override
Future<int> run() async {
final id = argResults!['id'] as String;
final client = container.read(projectServiceClientProvider);
final response = await client.deleteProject(
ProjectId(id: id),
options: getCallOptions(),
);
printOutput(response);
return 0;
}