src/utilities/cmd.js
function loadOptions(entries) {
  var options = new Command().version(require('../../package').version);
  entries.forEach(function(entry) {
    options.option(entry.option, entry.text, entry.parse);
  });
  return options.parse(process.argv);
}
function loadOptions(entries) {
  var options = new Command().version(require('../../package').version);
  entries.forEach(function(entry) {
    options.option(entry.option, entry.text, entry.parse);
  });
  return options.parse(process.argv);
}
function loadOptions ( entries ) { var options = new Command ( ) . version ( require ( '../../package' ) . version ) ; entries . forEach ( function ( entry ) { options . option ( entry . option , entry . text , entry . parse ) ; } ) ; return options . parse ( process . argv ) ; }
Loads the options.
@param {Array.<{option: string, text: string}>} entries
@returns {Object.<string, *>}
Loads the options .