<commit_before>require 'thor'

class Exercism
  class CLI < Thor

    desc "fetch", "Fetch current assignment from exercism.io"
    method_option :host, aliases: '-h', default: 'http://exercism.io', desc: 'the url of the exercism application'<commit_msg>Add command to output version<commit_after>require 'thor'

class Exercism
  class CLI < Thor

    desc "version", "Output current version of gem"
    def version
      require 'exercism'

      puts Exercism::VERSION
    end

    map "-v" => "version", "--version" => "version"

    desc "fetch", "Fetch current assignment from exercism.io"
    method_option :host, aliases: '-h', default: 'http://exercism.io', desc: 'the url of the exercism application'
{'fraction_non_alphanumeric': 0.11988716502115655, 'fraction_numerical': 0.0, 'mean_word_length': 3.7972972972972974, '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': '590121', 'n_tokens_mistral': 219, 'n_tokens_neox': 210, 'n_words': 76}