ObsCreateInputCommand constructor

ObsCreateInputCommand()

Implementation

ObsCreateInputCommand() {
  argParser
    ..addOption(
      'sceneName',
      help: 'Name of the scene to add the input to as a scene item',
    )
    ..addOption(
      'sceneUuid',
      help: 'UUID of the scene to add the input to as a scene item',
    )
    ..addOption(
      'inputName',
      help: 'Name of the new input to created',
      mandatory: true,
    )
    ..addOption(
      'inputKind',
      help: 'The kind of input to be created',
      mandatory: true,
    )
    ..addOption(
      'inputSettings',
      help: 'Settings object to initialize the input with',
    )
    ..addOption(
      'sceneItemEnabled',
      help: 'Whether to set the created scene item to enabled or disabled',
    );
}