<commit_before>var api = require('digio-api')
, fs = require('fs')
, path = require('path')
, tools = require('./tools')

var cmd = require('./cli')
, _package = require('../package.json')

var digio = (function () {
  cmd.version('Digio v' + _package.version)

  var _config = tools.load_config()

  if (_config ) {

    var apikey = require('./apikey')(cmd, _config)
    console.log(keys)

    if (tools.verify_config(_config)) {
      var commands = fs.readdirSync(__dirname + '/commands').filter(function (e) {
        return /(\.(js)$)/i.test(path.extname(e))
      })

      commands.forEach(function(command) {
        require('./commands/' + command)(cmd, _config)
      });
    }
  }

  cmd.parse()
})()

module.exports = digio<commit_msg>Remove console output<commit_after>var api = require('digio-api')
, fs = require('fs')
, path = require('path')
, tools = require('./tools')

var cmd = require('./cli')
, _package = require('../package.json')

var digio = (function () {
  cmd.version('Digio v' + _package.version)

  var _config = tools.load_config()

  if (_config ) {
    var apikey = require('./apikey')(cmd, _config)

    if (tools.verify_config(_config)) {
      var commands = fs.readdirSync(__dirname + '/commands').filter(function (e) {
        return /(\.(js)$)/i.test(path.extname(e))
      })

      commands.forEach(function(command) {
        require('./commands/' + command)(cmd, _config)
      });
    }
  }

  cmd.parse()
})()

module.exports = digio
{'fraction_non_alphanumeric': 0.1924375422012154, 'fraction_numerical': 0.0, 'mean_word_length': 3.1396648044692737, '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': '2699635', 'n_tokens_mistral': 492, 'n_tokens_neox': 480, 'n_words': 92}