<commit_before>require 'clamp'
require 'confswap'

module Confswap
  class Command < Clamp::Command
    def initialize(*args)
      super(*args)	
    end
		def help(*args)
      return [
        "This is confswap version #{Confswap::VERSION}",
				super
			].join("\n")
		end

		def run(*args)
      super(*args)
		end

    def execute
       if ARGV == [ "--version" ]
		     puts Confswap::VERSION
	       return 0
       end
    end
		
		option ['-t','--test'], "TEST", "Confswap tests this", :attribute_name => :test
		option ['-v', '--version'], "", "The version of confswap you are running"
  end
end<commit_msg>Add command line options stubs<commit_after>require 'clamp'
require 'confswap'

module Confswap
  class Command < Clamp::Command
    def initialize(*args)
      super(*args)	
    end
		def help(*args)
      return [
        "This is confswap version #{Confswap::VERSION}",
				super
			].join("\n")
		end

		def run(*args)
      super(*args)
		end

    def execute
       if ARGV == [ "--version" ]
		     puts Confswap::VERSION
	       return 0
       end

			  
    end
		
		option ['-r','--replace'], :flag, "Replace (Overwrite) the template file withe variable filled output", :attribute_name => :force
		option ['-v', '--version'], :flag, "The version of confswap you are running"
    option ['-o', '--output'], "FILE", "Writes the output from a config to a file", :attribute_name => :output_file
		option ['--verbose'], :flag, "Be more verbose"

		parameter "TEMPLATE_FILE", "Path to the configuration file", :attribute_name => :configuration_filepath
  end
end
{'fraction_non_alphanumeric': 0.13753943217665615, 'fraction_numerical': 0.0012618296529968455, 'mean_word_length': 2.8125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1271621', 'n_tokens_mistral': 525, 'n_tokens_neox': 475, 'n_words': 158}