<commit_before>import developmentServer from './development-server'
import build from './build'
import test from './test'
import install from './install'
import lint from './lint'
import actions from '../actions'

const runner = (neatoOptions: INeatoUserConfig) => {
  switch (neatoOptions.action) {
    case actions.TEST:
      return test(neatoOptions)
    case actions.DEVELOP:
      return developmentServer(neatoOptions)
    case actions.BUILD:
      return build(neatoOptions)
    case actions.INSTALL:
      return install(neatoOptions)
    case actions.LINT:
      return lint(neatoOptions)

    default:
      return Promise.reject('A valid action is required.')
  }
}

export default runner<commit_msg>chore(test): write test action later<commit_after>import developmentServer from './development-server'
import build from './build'
import install from './install'
import lint from './lint'
import actions from '../actions'

const runner = (neatoOptions: INeatoUserConfig) => {
  switch (neatoOptions.action) {
    // TODO: Test action
    case actions.DEVELOP:
      return developmentServer(neatoOptions)
    case actions.BUILD:
      return build(neatoOptions)
    case actions.INSTALL:
      return install(neatoOptions)
    case actions.LINT:
      return lint(neatoOptions)

    default:
      return Promise.reject('A valid action is required.')
  }
}

export default runner
{'fraction_non_alphanumeric': 0.09777138749101366, 'fraction_numerical': 0.0, 'mean_word_length': 3.609271523178808, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1833451', 'n_tokens_mistral': 391, 'n_tokens_neox': 382, 'n_words': 118}