bin/actions/cipher.js
function parseOptions(options) {
  let opts = {};

  _.each(nodecipher.defaults, (defaultVal, name) => {
    if (!_.isUndefined(options[name])) {
      opts[name] = options[name];
    }
  });

  return opts;
}
function parseOptions(options) {
  let opts = {};

  _.each(nodecipher.defaults, (defaultVal, name) => {
    if (!_.isUndefined(options[name])) {
      opts[name] = options[name];
    }
  });

  return opts;
}
function parseOptions ( options ) { let opts = { } ; _ . each ( nodecipher . defaults , ( defaultVal , name ) => { if ( ! _ . isUndefined ( options [ name ] ) ) { opts [ name ] = options [ name ] ; } } ) ; return opts ; }
Parses the command line options into a more consise Object that will be
accepted by NodeCipher.

@param {Object} options
@returns {Object} opts
Parses the command line options into a more consise Object that will be accepted by NodeCipher .