code: function format(answers) {
    const { type, subject } = answers
    // parentheses are only needed when a scope is present
    const scope = answers.scope ? `(${answers.scope.trim()}): ` : ': '
    // build head line and limit it to 100
    const head = truncate(`${type}${scope}${subject.trim()}`, LIMIT)
    // wrap body at 100
    const body = answers.body
      ? wrap(answers.body, LIMIT)
          .split('|')
          .join('\n')
      : false
  
    const breaking = answers.breaking
      ? fp.pipe(
          fp.constant(answers.breaking),
          brk => wrap(brk, LIMIT),
          brk => `BREAKING CHANGE:
        ${brk}`
        )()
      : false
    // Close issues
    const footer = answers.issues
      ? (answers.issues.match(/#\d+/g) || [])
          .map(issue => `Fixes ${issue}`)
          .join('\n')
      : false
  
    return fp
      .compact([head, body, breaking, footer])
      .join('\n\n')
      .trim()
  }
docs: Format the git commit message from given answers.
  
  @param {Object} answers Answers provided by `inquirer.js`
  @return {String} Formated git commit message