<commit_before>const commander = require('commander');
const process = require('process');
const { highlight } = require('./colorScheme');
const cliHelpers = require('./helpers');
const execWithConfig = require('./execWithConfig');

const debugServerOption = ['-D, --debug-server', 'debug server side rendering with built-in node inspector'];
const debugServerPortOption = ['-p, --debug-port <n>', 'port on which to run node inspector'];
const firefoxOption = ['-F, --firefox', 'Use Firefox with test runner'];
const singleRunOption = ['-S, --single', 'Run test suite only once'];
const skipBuildOption = ['-P, --skip-build', 'skip build when running in production mode'];
const statelessFunctionalOption = ['-F, --functional', '(generate component) stateless functional component'];

const testDebugOption = ['-D, --debug-test', 'debug tests with built-in node inspector'];
const testReportCoverageOption = ['-C --coverage', 'Create test coverage'];
const testWatchOption = ['-W --watch', 'Watch tests'];
const testPatternOption = ['-R --pattern [pattern]', 'Run specific test regex pattern name'];

commander
  .version(cliHelpers.getVersion());

commander
  .command('new')
  .description('generate a new application')
  .arguments('<appName>')
  .option('-d, --dev <path>', 'path to dev version of gluestick')
  .action((...commandArguments) => {
    execWithConfig(
      require('../commands/new'),
      commandArguments,
      { useGSConfig: true, skipProjectConfig: true },
    );
  });

commander
  .command('generate <container|component|reducer|generator>')
  .description('generate a new entity from given template')
  .arguments('<name>')
  .option('-E --entry-point <entryPoint>', 'entry point for generated files')
  .option(...statelessFunctionalOption)
  .option('-O, --gen-options <value>', 'options to pass to the generator')
  .action((...commandArguments) => {
    execWithConfig(
      require('../commands/generate'),
      commandArguments,
    );<commit_msg>skip plugins in new cmd<commit_after>const commander = require('commander');
const process = require('process');
const { highlight } = require('./colorScheme');
const cliHelpers = require('./helpers');
const execWithConfig = require('./execWithConfig');

const debugServerOption = ['-D, --debug-server', 'debug server side rendering with built-in node inspector'];
const debugServerPortOption = ['-p, --debug-port <n>', 'port on which to run node inspector'];
const firefoxOption = ['-F, --firefox', 'Use Firefox with test runner'];
const singleRunOption = ['-S, --single', 'Run test suite only once'];
const skipBuildOption = ['-P, --skip-build', 'skip build when running in production mode'];
const statelessFunctionalOption = ['-F, --functional', '(generate component) stateless functional component'];

const testDebugOption = ['-D, --debug-test', 'debug tests with built-in node inspector'];
const testReportCoverageOption = ['-C --coverage', 'Create test coverage'];
const testWatchOption = ['-W --watch', 'Watch tests'];
const testPatternOption = ['-R --pattern [pattern]', 'Run specific test regex pattern name'];

commander
  .version(cliHelpers.getVersion());

commander
  .command('new')
  .description('generate a new application')
  .arguments('<appName>')
  .option('-d, --dev <path>', 'path to dev version of gluestick')
  .action((...commandArguments) => {
    execWithConfig(
      require('../commands/new'),
      commandArguments,
      { useGSConfig: true, skipProjectConfig: true, skipPlugins: true },
    );
  });

commander
  .command('generate <container|component|reducer|generator>')
  .description('generate a new entity from given template')
  .arguments('<name>')
  .option('-E --entry-point <entryPoint>', 'entry point for generated files')
  .option(...statelessFunctionalOption)
  .option('-O, --gen-options <value>', 'options to pass to the generator')
  .action((...commandArguments) => {
    execWithConfig(
      require('../commands/generate'),
      commandArguments,
    );
{'fraction_non_alphanumeric': 0.16562421816362272, 'fraction_numerical': 0.0, 'mean_word_length': 4.529737206085754, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 21, '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': '6628100', 'n_tokens_mistral': 1103, 'n_tokens_neox': 1102, 'n_words': 346}