Sha256: 903d866d6e89d6698e165761ce4133c4a8b5bd20c6e1885c5ece793ab2a4482d

Contents?: true

Size: 773 Bytes

Versions: 2

Compression:

Stored size: 773 Bytes

Contents

require 'vagrant'

module VagrantSnap
    class Plugin < Vagrant.plugin("2")

        require_relative "command/root"
        require_relative "providers/virtualbox/action"
        require_relative "providers/virtualbox/driver/base"
        require_relative "providers/vmware_fusion/action"
        require_relative "providers/vmware_fusion/driver/base"

        name "snap command"

        description <<-DESC
        This command provides snapshot features across multiple
        Vagrant providers
        DESC

        command("snap") do
            setup_i18n
            Command::Root
        end

        def self.setup_i18n
            I18n.load_path << File.expand_path("locales/en.yml", VagrantSnap.source_root)
            I18n.reload!
        end

    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-zz-multiprovider-snap-0.0.2 lib/vagrant-multiprovider-snap/plugin.rb
vagrant-zz-multiprovider-snap-0.0.1 lib/vagrant-multiprovider-snap/plugin.rb