<commit_before>module Tools
  class Vagrant
    def initialize(configurator)
      @configurator = configurator
    end

    def add_command(box_name)
      "vagrant box add #{box_name} #{box_name}-#{configurator.vagrant}.box"
    end

    def destroy_command
      'vagrant destroy'
    end

    def down_command
      'vagrant halt'
    end

    def reload_command
      'vagrant reload'
    end

    def remove_command(box_name)
      "vagrant box remove #{box_name} #{provider_flag}"
    end

    def status_command
      "vagrant status | grep #{configurator.vagrant_provider}"
    end

    def up_command
      "vagrant up #{provider_flag}"
    end

    def up_with_provision_command
      "#{up_command} --provision"
    end

    private

    def provider_flag
      "--provider=#{configurator.vagrant_provider}"
    end
<commit_msg>fixes vagrant box remove command<commit_after>module Tools
  class Vagrant
    def initialize(configurator)
      @configurator = configurator
    end

    def add_command(box_name)
      "vagrant box add #{box_name} #{box_name}-#{configurator.vagrant}.box"
    end

    def destroy_command
      'vagrant destroy'
    end

    def down_command
      'vagrant halt'
    end

    def reload_command
      'vagrant reload'
    end

    def remove_command(box_name)
      "vagrant box remove #{box_name} --provider=#{configurator.vagrant_box}"
    end

    def status_command
      "vagrant status | grep #{configurator.vagrant_provider}"
    end

    def up_command
      "vagrant up --provider=#{configurator.vagrant_provider}"
    end

    def up_with_provision_command
      "#{up_command} --provision"
    end

    private

{'fraction_non_alphanumeric': 0.07987987987987988, 'fraction_numerical': 0.0, 'mean_word_length': 2.710467706013363, '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': '6571683', 'n_tokens_mistral': 563, 'n_tokens_neox': 541, 'n_words': 126}