OnvifSetRelayOutputStateDeviceManagementCommand constructor

OnvifSetRelayOutputStateDeviceManagementCommand()

Implementation

OnvifSetRelayOutputStateDeviceManagementCommand() {
  argParser
    ..addOption(
      'relay-output-token',
      abbr: 't',
      help: 'The relay output token.',
      mandatory: true,
    )
    ..addOption(
      'logical-state',
      abbr: 's',
      help: 'The logical state of the relay.',
      allowed: ['active', 'inactive'],
      mandatory: true,
    );
}