<commit_before><commit_msg>forget to add new helper class to git ;)<commit_after>/*
 * cushion-cli
 * https://github.com/stefanjudis/cushion-cli
 *
 * Copyright (c) 2012 <NAME>
 * Licensed under the MIT license.
 */

var helper = module.exports = {};


/**
 * [getHelp description]
 * @param  {[type]} object [description]
 * @param  {[type]} cli    [description]
 */
helper.getHelp = function(object, cli) {
  var commands;

  commands = Object.keys(object).filter(
              function(command) {
                return (command[0] === '_' && command !== '_simpleCommand');
              }
            ).sort().join('\n').replace(/_/g, '');

  console.log('Got into trouble?');
  console.log('Available commands are for ' + object.name + ' - level are:');
  console.log(commands);

  cli.runner();
};
{'fraction_non_alphanumeric': 0.17786069651741293, 'fraction_numerical': 0.006218905472636816, 'mean_word_length': 2.926829268292683, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, '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': '2056432', 'n_tokens_mistral': 260, 'n_tokens_neox': 245, 'n_words': 58}