src/Cli.js
function resolveStyleguide(options) {
  return setupStyleguide(options)
  .then(function (styleguide) {
    success('Styleguide.read:', 'start reading ...')
    return styleguide.read()
  })
  .then(function (styleguide) {
    success('Styleguide.read:', 'finished reading')
    return Promise.resolve(styleguide)
  })
}
function resolveStyleguide(options) {
  return setupStyleguide(options)
  .then(function (styleguide) {
    success('Styleguide.read:', 'start reading ...')
    return styleguide.read()
  })
  .then(function (styleguide) {
    success('Styleguide.read:', 'finished reading')
    return Promise.resolve(styleguide)
  })
}
function resolveStyleguide ( options ) { return setupStyleguide ( options ) . then ( function ( styleguide ) { success ( 'Styleguide.read:' , 'start reading ...' ) return styleguide . read ( ) } ) . then ( function ( styleguide ) { success ( 'Styleguide.read:' , 'finished reading' ) return Promise . resolve ( styleguide ) } ) }
reading in the actual styleguide content, components and pages
reading in the actual styleguide content components and pages