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(groupServiceClientProvider);
final response = await client.deleteGroup(
GroupId(id: id),
options: getCallOptions(),
);
printOutput(response);
return 0;
}