<commit_before>chalk = require 'chalk'

exports.configure = [
  {
    name: 'name'
    message: 'What is your name?'
  },
  {
    name: 'food'
    type: 'list'
    message: 'What is your favorite food?'
    choices: ['pizza', 'sushi', 'cookies', 'other']
  }
]

exports.before = (utils) ->
  # EXAMPLE:
  # an example of including an external module
  console.log chalk.bgBlue("initializing your project!")

exports.beforeRender = (utils, config) ->
  emojis = {
    'pizza': ':pizza:',
    'sushi': ':sushi:',
    'cookies': ':cookie',
    'other': ':rowboat'
  }

  # EXAMPLE:
  # adding a new `food` local to be passed to our templates
  config.emoji = emojis[config.food]

exports.after = (utils, config) ->
  # EXAMPLE:
  # using sprout.utils to create a new file<commit_msg>fix labeling mistake in readme<commit_after>chalk = require 'chalk'

exports.configure = [
  {
    name: 'name'
    message: 'What is your name?'
  },
  {
    name: 'food'
    type: 'list'
    message: 'What is your favorite food?'
    choices: ['pizza', 'sushi', 'cookies', 'other']
  }
]

exports.before = (utils) ->
  # EXAMPLE:
  # an example of including an external module
  console.log chalk.bgBlue("initializing your project!")

exports.beforeRender = (utils, config) ->
  emojis = {
    'pizza': ':pizza:',
    'sushi': ':sushi:',
    'cookies': ':cookie',
    'other': ':rowboat'
  }

  # EXAMPLE:
  # adding a new `emoji` local to be passed to our templates
  config.emoji = emojis[config.food]

exports.after = (utils, config) ->
  # EXAMPLE:
  # using sprout.utils to create a new file
{'fraction_non_alphanumeric': 0.15462610899873258, 'fraction_numerical': 0.0, 'mean_word_length': 3.2106666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7406369', 'n_tokens_mistral': 574, 'n_tokens_neox': 548, 'n_words': 157}