run method
Runs this command.
The return value is wrapped in a Future
if necessary and returned by
CommandRunner.runCommand
.
Implementation
@override
void run() async {
await initializeObs();
final requestResponse = await obs.sendRequest(
Request(argResults!['command'], requestData: argResults?['args']),
);
if (requestResponse != null) {
print(requestResponse);
}
obs.close();
}