<commit_before>module Boucher
  class CLI

    attr_accessor :hostname
    attr_accessor :meatfile

    def initialize(args)
      @hostname = args.first
      @meatfile = Meatfile::hunt_for_meat
      @config = Config.new(@meatfile)

      raise "Config not valid" unless @config.valid?

      @blueprint = Blueprint.new(@hostname, 'role', @config)
    end

    # FIXME a lot of this shit should be in Boucher::Base or something
    # not in the CLI portion. sheesh.
    def run!
      @cap = Capistrano.new(@blueprint)

      #@cap.run_recipe
    end


  end<commit_msg>made boucher actually run the recipe<commit_after>module Boucher
  class CLI

    attr_accessor :hostname
    attr_accessor :meatfile

    def initialize(args)
      @hostname = args.first
      @meatfile = Meatfile::hunt_for_meat
      @config = Config.new(@meatfile)

      raise "Config not valid" unless @config.valid?

      @blueprint = Blueprint.new(@hostname, 'role', @config)
    end

    # FIXME a lot of this shit should be in Boucher::Base or something
    # not in the CLI portion. sheesh.
    def run!
      @cap = Capistrano.new(@blueprint)

      @cap.run_recipe
    end


  end
{'fraction_non_alphanumeric': 0.08833619210977701, 'fraction_numerical': 0.0, 'mean_word_length': 2.764516129032258, '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': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5856565', 'n_tokens_mistral': 391, 'n_tokens_neox': 371, 'n_words': 108}