lib/cli/index.js
function(details) {
    return function() {
      var args = _.toArray(arguments);
      var options = _.last(args);
      action.options = options;
      action.name = options.name();
      action.args = args;
      action = _.defaults(action, details, { azulfile: true });
    };
  }
function(details) {
    return function() {
      var args = _.toArray(arguments);
      var options = _.last(args);
      action.options = options;
      action.name = options.name();
      action.args = args;
      action = _.defaults(action, details, { azulfile: true });
    };
  }
function ( details ) { return function ( ) { var args = _ . toArray ( arguments ) ; var options = _ . last ( args ) ; action . options = options ; action . name = options . name ( ) ; action . args = args ; action = _ . defaults ( action , details , { azulfile : true } ) ; } ; }
We need capture the requested action & execute it after checking that all
required values are set on env. this allows the cli to still run things
like help when azul is not installed locally or is missing a configuration
file.

@function cli~capture
@private
We need capture the requested action & execute it after checking that all required values are set on env . this allows the cli to still run things like help when azul is not installed locally or is missing a configuration file .