ObsSaveSourceScreenshotCommand constructor
ObsSaveSourceScreenshotCommand()
Implementation
ObsSaveSourceScreenshotCommand() {
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',
)
..addOption(
'image-file-path',
mandatory: true,
valueHelp: 'string',
help: 'Path to save the screenshot file to.',
);
}