index.js
function Scaffold(options) {
  if (!(this instanceof Scaffold)) {
    return new Scaffold(options);
  }

  Base.call(this);
  this.use(utils.plugins());
  this.is('scaffold');

  options = options || {};
  this.options = options;
  this.targets = {};

  if (Scaffold.isScaffold(options)) {
    this.options = {};
    foward(this, options);
    this.addTargets(options);
    return this;
  } else {
    foward(this, options);
  }
}
function Scaffold(options) {
  if (!(this instanceof Scaffold)) {
    return new Scaffold(options);
  }

  Base.call(this);
  this.use(utils.plugins());
  this.is('scaffold');

  options = options || {};
  this.options = options;
  this.targets = {};

  if (Scaffold.isScaffold(options)) {
    this.options = {};
    foward(this, options);
    this.addTargets(options);
    return this;
  } else {
    foward(this, options);
  }
}
function Scaffold ( options ) { if ( ! ( this instanceof Scaffold ) ) { return new Scaffold ( options ) ; } Base . call ( this ) ; this . use ( utils . plugins ( ) ) ; this . is ( 'scaffold' ) ; options = options || { } ; this . options = options ; this . targets = { } ; if ( Scaffold . isScaffold ( options ) ) { this . options = { } ; foward ( this , options ) ; this . addTargets ( options ) ; return this ; } else { foward ( this , options ) ; } }
Create a new Scaffold with the given `options`

```js
var scaffold = new Scaffold({cwd: 'src'});
scaffold.addTargets({
site: {src: ['*.hbs']},
blog: {src: ['*.md']}
});
```
@param {Object} `options`
@api public
Create a new Scaffold with the given options