lib/cli-engine.js
function CLIEngine(options) {

  /**
   * Stored options for this instance
   * @type {Object}
   */
  this.options = assign(Object.create(defaultOptions), options || {});

  // load in additional rules
  if (this.options.rulePaths) {
    this.options.rulePaths.forEach(function(rulesdir) {
      rules.load(rulesdir);
    });
  }
}
function CLIEngine(options) {

  /**
   * Stored options for this instance
   * @type {Object}
   */
  this.options = assign(Object.create(defaultOptions), options || {});

  // load in additional rules
  if (this.options.rulePaths) {
    this.options.rulePaths.forEach(function(rulesdir) {
      rules.load(rulesdir);
    });
  }
}
function CLIEngine ( options ) { /**
   * Stored options for this instance
   * @type {Object}
   */ this . options = assign ( Object . create ( defaultOptions ) , options || { } ) ; // load in additional rules if ( this . options . rulePaths ) { this . options . rulePaths . forEach ( function ( rulesdir ) { rules . load ( rulesdir ) ; } ) ; } }
Creates a new instance of the core CLI engine.
@param {CLIEngineOptions} options The options for this instance.
@constructor
Creates a new instance of the core CLI engine .