code: function(name, config) {
          if (!config && typeof name === 'string' || utils.isObject(name)) {
            return this.getScaffold(name);
          }
  
          this.setScaffold.apply(this, arguments);
          if (typeof name === 'string') {
            return this.getScaffold(name);
          }
          return this;
        }
docs: Get scaffold `name` from `app.scaffolds`, or set scaffold `name` with the given
  `config`.
  
  ```js
  app.scaffold('foo', {
  docs: {
  options: {},
  files: {
  src: ['*'],
  dest: 'foo'
  }
  }
  });
  
  // or
  var scaffold = app.scaffold('foo');
  ```
  @name .scaffold
  @param {String|Object|Function} `name`
  @param {Object|Fucntion} `config`
  @return {Object} Returns the app instance when setting a scaffold, or the scaffold instance when getting a scaffold.
  @api public