<commit_before>#!/usr/bin/env node

'use strict'

const program = require('commander')
const pkgJson = require('../package.json')
const Cli = require('../lib/cli')

const cli = new Cli()

program
  .version(pkgJson.version)
  .arguments('<cmd>')
  .action((cmd, options) => {
    cli
      .run(cmd, options)
      .catch((error) => {
        const msg = (error.message) ? error.message : error
        console.log(msg)<commit_msg>Do not exit with 1 on cancelations<commit_after>#!/usr/bin/env node

'use strict'

const program = require('commander')
const pkgJson = require('../package.json')
const Bumper = require('../lib/bumper')
const Cli = require('../lib/cli')
const cli = new Cli()

program
  .version(pkgJson.version)
  .arguments('<cmd>')
  .action((cmd, options) => {
    cli
      .run(cmd, options)
      .catch((error) => {
        const msg = (error.message) ? error.message : error
        console.log(msg)
        if (error instanceof Bumper.Cancel) {
          process.exit(0)
        }
{'fraction_non_alphanumeric': 0.16832669322709162, 'fraction_numerical': 0.00199203187250996, 'mean_word_length': 2.9105058365758754, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '440467', 'n_tokens_mistral': 336, 'n_tokens_neox': 323, 'n_words': 77}