function logMessage (message, data) {
  if (!message) return
  render(message, data, function (err, res) {
    if (err) {
      console.error('\n   Error when rendering template complete message: ' + err.message.trim())
    } else {
      console.log(`\nTo get started:`)
      console.log('')
      console.log(`${chalk.gray('  ------------------')}`)
      console.log('  ' + res.split(/\r?\n/g).map(function (line) {
        return `${chalk.blue(line)}`
      }).join('\n'))
      console.log(`${chalk.gray('  ------------------')}`)
      console.log('')
      console.log(`More infomation: ${chalk.blue.underline('fe -h')}`)
    }
  })
}
function logMessage (message, data) {
  if (!message) return
  render(message, data, function (err, res) {
    if (err) {
      console.error('\n   Error when rendering template complete message: ' + err.message.trim())
    } else {
      console.log(`\nTo get started:`)
      console.log('')
      console.log(`${chalk.gray('  ------------------')}`)
      console.log('  ' + res.split(/\r?\n/g).map(function (line) {
        return `${chalk.blue(line)}`
      }).join('\n'))
      console.log(`${chalk.gray('  ------------------')}`)
      console.log('')
      console.log(`More infomation: ${chalk.blue.underline('fe -h')}`)
    }
  })
}
function logMessage ( message , data ) { if ( ! message ) return render ( message , data , function ( err , res ) { if ( err ) { console . error ( '\n   Error when rendering template complete message: ' + err . message . trim ( ) ) } else { console . log ( ` \n ` ) console . log ( '' ) console . log ( ` ${ chalk . gray ( '  ------------------' ) } ` ) console . log ( '  ' + res . split ( / \r?\n / g ) . map ( function ( line ) { return ` ${ chalk . blue ( line ) } ` } ) . join ( '\n' ) ) console . log ( ` ${ chalk . gray ( '  ------------------' ) } ` ) console . log ( '' ) console . log ( ` ${ chalk . blue . underline ( 'fe -h' ) } ` ) } } ) }
Display template complete message.

@param {String} message
@param {Object} data
Display template complete message .