ObsCallVendorRequestCommand constructor

ObsCallVendorRequestCommand()

Implementation

ObsCallVendorRequestCommand() {
  argParser
    ..addOption(
      'vendor-name',
      mandatory: true,
      valueHelp: 'string',
      help: 'Name of the vendor to use',
    )
    ..addOption(
      'request-type',
      mandatory: true,
      valueHelp: 'string',
      help: 'The request type to call',
    )
    ..addOption(
      'request-data',
      valueHelp: 'json',
      help: 'JSON encoded object containing appropriate request data',
    );
}