code: function invokeInstall(err, result) {
      // Log the input / command parse results.
      console.log('Command-line input received:');
      console.log('package: ' + result.package);
      console.log('version: ' + result.version);
      console.log('   type: ' + (isDevDependency ? 'dev' : 'production'));
      console.log('    mvn: ' + (shouldRunMaven ? 'will run mvn' : 'will not run mvn'));
  
      async.map(directories,
          function (elem, callback) {
              console.log('Current element', elem);
              removeAndInstall(elem, result.package,  result.version, callback);
          },
          function (err, result) {
              if (err) {
                  console.error('Something went wrong! node_modules might now be trashed, sorry.', err);
                  process.exit(1);
              } else {
                  const elapsed = new Date().getTime() - start;
                  console.log(`Install look good! took ${elapsed}ms`);
                  process.exit(0);
              }
          }
      );
  }
docs: Set via command line