code: function parseOutfile (args, parsed) {
    let arg = parseNameValueArg(args, parsed, "-o", "--outfile");
  
    if (arg) {
      if (helpers.isDirectory(arg.value)) {
        // The output filename will be different for each bundle
        parsed.outfileIndex = parsed.args.length;
        parsed.args.push(helpers.rename.bind(null, arg.prefix, arg.value));
      }
      else {
        // Pass the argument as-is
        parsed.args.push(arg.prefix + arg.value);
      }
  
      return true;
    }
  }
docs: If the current argument is the --outfile argument,
  then this function parses it and shifts it to {@link ParsedArgs#args}.
  
  @param {string[]} args - The command-line arguments that have not yet been parsed
  @param {ParsedArgs} parsed - The command-line arguments that have already been parsed
  @returns {boolean}