argAddFileIn function

void argAddFileIn(
  1. ArgParser argParser, {
  2. required bool isDocument,
})

Implementation

void argAddFileIn(
  ArgParser argParser, {
  required bool isDocument,
}) {
  argParser.addSeparator('IO settings');
  argParser.addOption(
    argNameIn,
    abbr: 'i',
    valueHelp: '${_resourceType(isDocument)}_to_upload.json',
    help: 'Path of the input file with the ${_resourceType(isDocument)} JSON. '
        'If omitted, STDIN will be used',
  );
}