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(localeServiceClientProvider);
final locale = await client.getLocale(
LocaleId(id: id),
options: getCallOptions(requireUser: false),
);
printOutput(locale);
return 0;
}