code: function setupStyleguide(options) {
    let cwd = !!options && !!options.cwd ? options.cwd : process.cwd()
    success('Styleguide.new:', 'initialize styleguide ...')
    return new Styleguide()
      .initialize(cwd)
      .then(function (styleguide) {
        success('Styleguide.new:', 'initialize finished')
        if (!options || !options.prepare) {
          success('Styleguide.prepare:', 'preparing the styleguide target ...')
          return styleguide.prepare()
        } else {
          return Promise.resolve(styleguide)
        }
      })
  }
docs: initialize the styleguide, by reading its configuration and preprare any necessary target structure