docs: function getBuildArgs(options) {
      // if no options passed, empty object will be returned
      if (!options) return [];
  
      var downstreamArgs = [];
      var argNames =[
          'debug',
          'release',
          'device',
          'emulator',
          'nobuild',
          'list'
      ];
  
      argNames.forEach(function(flag) {
          if (options[flag]) {
              downstreamArgs.push('--' + flag);
          }
      });
  
      if (options.buildConfig) {
          downstreamArgs.push('--buildConfig=' + options.buildConfig);
      }
      if (options.target) {
          downstreamArgs.push('--target=' + options.target);
      }
      if (options.archs) {
          downstreamArgs.push('--archs=' + options.archs);
      }
  
      var unparsedArgs = options.argv || [];
      return downstreamArgs.concat(unparsedArgs);
  }