<commit_before>'use strict';

const ParserInterface = require('../parser-interface');
const meow = require('meow')

class ArgumentParser extends ParserInterface {
  parse () {
    const options = {
      alias: {
        c: 'cluster',
        p: 'port',
        v: 'version'
      },
      boolean: [ // options that are always boolean
        'cluster'
      ],
      default: {
        cluster: false,
        port: 3000
      }
    }
    const help = `
      Usage:
        $ npm start [-- <options>]

      Options:
        -c, --cluster Enable cluster mode (default: disable)
        -p, --port    Specific listening port (default: 3000)

      Examples
        $ npm start -- -c -p 8000
    `
    const processOptions = meow(help, options)
<commit_msg>Fixed style<commit_after>'use strict'

const ParserInterface = require('../parser-interface')
const meow = require('meow')

class ArgumentParser extends ParserInterface {
  parse () {
    const options = {
      alias: {
        c: 'cluster',
        p: 'port',
        v: 'version'
      },
      boolean: [ // options that are always boolean
        'cluster'
      ],
      default: {
        cluster: false,
        port: 3000
      }
    }
    const help = `
      Usage:
        $ npm start [-- <options>]

      Options:
        -c, --cluster Enable cluster mode (default: disable)
        -p, --port    Specific listening port (default: 3000)

      Examples
        $ npm start -- -c -p 8000
    `
    const processOptions = meow(help, options)

{'fraction_non_alphanumeric': 0.12037037037037036, 'fraction_numerical': 0.015873015873015872, 'mean_word_length': 1.8018518518518518, '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': '5973018', 'n_tokens_mistral': 462, 'n_tokens_neox': 425, 'n_words': 131}