<commit_before>#!/usr/bin/env sh
':' //; exec "$(command -v nodejs || command -v node)" "$0" "$@"

/** @license
 * This file is part of the Game Closure SDK.
 *
 * The Game Closure SDK is free software: you can redistribute it and/or modify
 * it under the terms of the Mozilla Public License v. 2.0 as published by
 * Mozilla.
 *
 * The Game Closure SDK is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * Mozilla Public License v. 2.0 for more details.
 *
 * You should have received a copy of the Mozilla Public License v. 2.0
 * along with the Game Closure SDK.  If not, see <http://mozilla.org/MPL/2.0/>.
 */

process.title = 'devkit';

/**
 * Command line interface.
 */

/* jshint -W020 */
require = require('jsio');
/* jshint +W020 */

require('./globals');

var logging = require('./util/logging');
var logger = logging.get('devkit');

/**
 * Module API.
 */

// Command line invocation.
if (require.main === module) {
  main();
}

function main () {
  var commands = require('./commands');
  var argv = commands.argv;
  var args = argv._;

  var name;

  if (argv.help) {
    name = 'help';
  } else if (commands.has(args[0])) {
    name = args.shift();
  } else if (argv.version) {
    name = 'version';
  } else if (argv.info) {<commit_msg>don't overwrite require, don't import logging unnecessarily<commit_after>#!/usr/bin/env sh
':' //; exec "$(command -v nodejs || command -v node)" "$0" "$@"

/** @license
 * This file is part of the Game Closure SDK.
 *
 * The Game Closure SDK is free software: you can redistribute it and/or modify
 * it under the terms of the Mozilla Public License v. 2.0 as published by
 * Mozilla.
 *
 * The Game Closure SDK is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * Mozilla Public License v. 2.0 for more details.
 *
 * You should have received a copy of the Mozilla Public License v. 2.0
 * along with the Game Closure SDK.  If not, see <http://mozilla.org/MPL/2.0/>.
 */

process.title = 'devkit';

/**
 * Command line interface.
 */

/* jshint -W020 */
require('jsio');
/* jshint +W020 */

require('./globals');

/**
 * Module API.
 */

// Command line invocation.
if (require.main === module) {
  main();
}

function main () {
  var commands = require('./commands');
  var argv = commands.argv;
  var args = argv._;

  var name;

  if (argv.help) {
    name = 'help';
  } else if (commands.has(args[0])) {
    name = args.shift();
  } else if (argv.version) {
    name = 'version';
  } else if (argv.info) {
{'fraction_non_alphanumeric': 0.14306676449009537, 'fraction_numerical': 0.01173881144534116, 'mean_word_length': 3.0580357142857144, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3044236', 'n_tokens_mistral': 897, 'n_tokens_neox': 833, 'n_words': 337}