<commit_before>require 'optparse'

module Liftoff
  class CLI
    def initialize(argv)
      @argv = argv
    end

    def run
      parse_command_line_options
      LaunchPad.new.liftoff
    end

    private

    def parse_command_line_options
      global_options.parse!(@argv)
    end

    def global_options
      OptionParser.new do |opts|
        opts.banner = 'usage: liftoff [-v | --version] [-h | --help]'

        opts.on('-v', '--version', 'Display the version and exit') do
          puts "Version: #{Liftoff::VERSION}"
          exit 0
        end

        opts.on('-h', '--help', 'Display this help message and exit') do
          puts opts
          exit 0
        end
      end
    end
  end
end
<commit_msg>Don't pass an exit status<commit_after>require 'optparse'

module Liftoff
  class CLI
    def initialize(argv)
      @argv = argv
    end

    def run
      parse_command_line_options
      LaunchPad.new.liftoff
    end

    private

    def parse_command_line_options
      global_options.parse!(@argv)
    end

    def global_options
      OptionParser.new do |opts|
        opts.banner = 'usage: liftoff [-v | --version] [-h | --help]'

        opts.on('-v', '--version', 'Display the version and exit') do
          puts "Version: #{Liftoff::VERSION}"
          exit
        end

        opts.on('-h', '--help', 'Display this help message and exit') do
          puts opts
          exit
        end
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.09958791208791208, 'fraction_numerical': 0.0013736263736263737, 'mean_word_length': 1.885148514851485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2084607', 'n_tokens_mistral': 465, 'n_tokens_neox': 445, 'n_words': 132}