OnvifSetRecordingJobModeRecordingsCommand constructor

OnvifSetRecordingJobModeRecordingsCommand()

Implementation

OnvifSetRecordingJobModeRecordingsCommand() {
  argParser
    ..addOption('job-token',
        abbr: 't',
        valueHelp: 'token',
        mandatory: true,
        help: 'Token of the recording job.')
    ..addOption('mode',
        valueHelp: 'string',
        mandatory: true,
        allowed: RecordingJobConfigurationMode.values
            .map((mode) => mode.value)
            .toList(),
        help: 'The new mode for the recording job.');
}