<commit_before>require 'rgitflow/printing'
require 'git'

module RGitFlow
  class Install
    include RGitFlow::Printing

    class << self
      attr_accessor :instance

      def install_tasks(opts = {})
        new(opts[:dir]).install
      end
    end

    attr_reader :dir, :git

    def initialize(dir = nil)
      @dir = dir || Pathname.pwd
      @git = Git.open @dir
    end

    def install
      require 'rgitflow/tasks/scm/status'
      RGitFlow::Tasks::SCM::Status.new @git

      require 'rgitflow/tasks/feature/tasks'
      RGitFlow::Tasks::Feature.install_tasks({:git => @git})

      require 'rgitflow/tasks/hotfix/tasks'
      RGitFlow::Tasks::Hotfix.install_tasks({:git => @git})
    end
  end
end<commit_msg>installing hotfix and release tasks<commit_after>require 'rgitflow/printing'
require 'git'

module RGitFlow
  class Install
    include RGitFlow::Printing

    class << self
      attr_accessor :instance

      def install_tasks(opts = {})
        new(opts[:dir]).install
      end
    end

    attr_reader :dir, :git

    def initialize(dir = nil)
      @dir = dir || Pathname.pwd
      @git = Git.open @dir
    end

    def install
      require 'rgitflow/tasks/scm/status'
      RGitFlow::Tasks::SCM::Status.new @git

      require 'rgitflow/tasks/feature/tasks'
      RGitFlow::Tasks::Feature.install_tasks({:git => @git})

      require 'rgitflow/tasks/hotfix/tasks'
      RGitFlow::Tasks::Hotfix.install_tasks({:git => @git})

      require 'rgitflow/tasks/release/tasks'
      RGitFlow::Tasks::Release.install_tasks({:git => @git})
    end
  end
end
{'fraction_non_alphanumeric': 0.12255211623499684, 'fraction_numerical': 0.0, 'mean_word_length': 2.8728606356968216, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '82055', 'n_tokens_mistral': 539, 'n_tokens_neox': 514, 'n_words': 105}