ObsGetSourceScreenshotCommand constructor

ObsGetSourceScreenshotCommand()

Implementation

ObsGetSourceScreenshotCommand() {
  argParser
    ..addOption(
      'source-name',
      mandatory: true,
      valueHelp: 'string',
      help: 'Name of the source to take a screenshot of',
    )
    ..addOption(
      'image-format',
      mandatory: true,
      valueHelp: 'string',
      help:
          'Image compression format to use. Use GetVersion to get compatible image formats',
    );
}