function parseArgs(args) {
  var options = {
    arch: process.arch,
    platform: process.platform,
    force: process.env.npm_config_force === 'true',
  };

  options.args = args.filter(function(arg) {
    if (arg === '-f' || arg === '--force') {
      options.force = true;
      return false;
    } else if (arg.substring(0, 13) === '--target_arch') {
      options.arch = arg.substring(14);
    } else if (arg === '-d' || arg === '--debug') {
      options.debug = true;
    } else if (arg.substring(0, 13) === '--libsass_ext' && arg.substring(14) !== 'no') {
      options.libsassExt = true;
    }

    return true;
  });

  return options;
}
function parseArgs(args) {
  var options = {
    arch: process.arch,
    platform: process.platform,
    force: process.env.npm_config_force === 'true',
  };

  options.args = args.filter(function(arg) {
    if (arg === '-f' || arg === '--force') {
      options.force = true;
      return false;
    } else if (arg.substring(0, 13) === '--target_arch') {
      options.arch = arg.substring(14);
    } else if (arg === '-d' || arg === '--debug') {
      options.debug = true;
    } else if (arg.substring(0, 13) === '--libsass_ext' && arg.substring(14) !== 'no') {
      options.libsassExt = true;
    }

    return true;
  });

  return options;
}
function parseArgs ( args ) { var options = { arch : process . arch , platform : process . platform , force : process . env . npm_config_force === 'true' , } ; options . args = args . filter ( function ( arg ) { if ( arg === '-f' || arg === '--force' ) { options . force = true ; return false ; } else if ( arg . substring ( 0 , 13 ) === '--target_arch' ) { options . arch = arg . substring ( 14 ) ; } else if ( arg === '-d' || arg === '--debug' ) { options . debug = true ; } else if ( arg . substring ( 0 , 13 ) === '--libsass_ext' && arg . substring ( 14 ) !== 'no' ) { options . libsassExt = true ; } return true ; } ) ; return options ; }
Parse arguments

@param {Array} args
@api private
Parse arguments
Parse the args