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();
await obs.config.setStreamServiceSettings(
streamServiceType: argResults!['stream-service-type'],
streamServiceSettings:
json.decode(argResults!['stream-service-settings']));
obs.close();
}