<commit_before>require "thor"

module Shanty
  class Initializer < Shanty::Base
    no_commands do
      def init(language)
        create_cloud_provider_config
        create_dot_shanty_yml(language)
      end

      def create_cloud_provider_config
        copy_file "templates/shanty/cloud_provider_config.yml", "~/.shanty/cloud_provider_config.yml"
      end

      def create_repo_puppet_directory
        if File.directory?(File.join(local_repository_path, "puppet"))
          say "Found puppet files", :green
        else
          directory "templates/puppet", File.join(local_repository_path, "puppet")
        end
      end

      def create_dot_shanty_yml(language)
        shanty_file = File.join(local_repository_path, ".shanty.yml")
        @language = language
        template "templates/dot_shanty.yml.tt", shanty_file
      end
    end
  end
end<commit_msg>Added a reminder to remove some un-used code.<commit_after>require "thor"

module Shanty
  class Initializer < Shanty::Base
    no_commands do
      def init(language)
        create_cloud_provider_config
        create_dot_shanty_yml(language)
      end

      def create_cloud_provider_config
        copy_file "templates/shanty/cloud_provider_config.yml", "~/.shanty/cloud_provider_config.yml"
      end

      # TODO: Remove this because it isn't used here.
      def create_repo_puppet_directory
        if File.directory?(File.join(local_repository_path, "puppet"))
          say "Found puppet files", :green
        else
          directory "templates/puppet", File.join(local_repository_path, "puppet")
        end
      end

      def create_dot_shanty_yml(language)
        shanty_file = File.join(local_repository_path, ".shanty.yml")
        @language = language
        template "templates/dot_shanty.yml.tt", shanty_file
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.07725788900979326, 'fraction_numerical': 0.0, 'mean_word_length': 2.8472803347280333, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1042597', 'n_tokens_mistral': 591, 'n_tokens_neox': 567, 'n_words': 116}