code: function parseArguments() {
      var aFileList;
  
      if (g_aInput.length > 0) {
          aFileList = g_aInput;
      } else {
          aFileList = process.argv;
      }
  
      Commander.parse(aFileList);
      if (g_aInput.length === 0 && (Commander.args && Commander.args.length === 0)) {
          process.exitCode = EXIT_ERROR_NO_PATH_GIVEN;
          console.error(Chalk.red('Error: ') + Chalk.bold(' no path given'));
          Commander.outputHelp();
      }
  }
docs: Parses the command-line arguments from STDIN/pipe or argument vector (argv)