<commit_before>'use strict';

var chalk   = require('chalk');
var fs      = require('fs');
var path    = require('path');
var Command = require('../models/command');
var ui      = require('../ui');

module.exports = Command.extend({
  name: 'help',
  run: function(){
    ui.write('Available commands for ember-cdv:\n');
    fs.readdir(__dirname, function(err, files){
      files.forEach(function(file){
        if(path.basename(file) !== 'help.js') {
          command = new (require('./' + file))();
          command.displayHelp();
          ui.write('\n');
        }
      });
    });
  }
});<commit_msg>fix var not being defined<commit_after>'use strict';

var chalk   = require('chalk');
var fs      = require('fs');
var path    = require('path');
var Command = require('../models/command');
var ui      = require('../ui');

module.exports = Command.extend({
  name: 'help',
  run: function(){
    ui.write('Available commands for ember-cdv:\n');
    fs.readdir(__dirname, function(err, files){
      files.forEach(function(file){
        var command;
        if(path.basename(file) !== 'help.js') {
          command = new (require('./' + file))();
          command.displayHelp();
          ui.write('\n');
        }
      });
    });
  }
});
{'fraction_non_alphanumeric': 0.19904076738609114, 'fraction_numerical': 0.0, 'mean_word_length': 2.5873925501432664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7446036', 'n_tokens_mistral': 384, 'n_tokens_neox': 383, 'n_words': 84}