OnvifGetSystemLogDeviceManagementCommand constructor

OnvifGetSystemLogDeviceManagementCommand()

Implementation

OnvifGetSystemLogDeviceManagementCommand() {
  argParser
    ..addOption(
      'type',
      abbr: 't',
      defaultsTo: 'System',
      allowed: ['Access', 'System'],
      allowedHelp: {
        'Access': 'Indicates that a access log is requested.',
        'System': ' Indicates that a system log is requested.',
      },
      help: 'Specifies the type of system log to get.',
    )
    ..addOption(
      'log-folder',
      abbr: 'f',
      help: 'Specifies the folder to write the log to.',
    );
}