ObsMediaInputCursorCommandBase constructor

ObsMediaInputCursorCommandBase({
  1. required String cursorParameterName,
  2. required String cursorParameterHelp,
})

Implementation

ObsMediaInputCursorCommandBase({
  required this.cursorParameterName,
  required this.cursorParameterHelp,
}) {
  argParser
    ..addOption(
      'input-name',
      valueHelp: 'string',
      help: 'Name of the media input',
    )
    ..addOption(
      'input-uuid',
      valueHelp: 'string',
      help: 'UUID of the media input',
    )
    ..addOption(
      cursorParameterName,
      mandatory: true,
      valueHelp: 'number',
      help: cursorParameterHelp,
    );
}