Sha256: 65088715be1e0f4588b6d54186bf8d462e28640034999e9e7f423ca7173d6c3c

Contents?: true

Size: 703 Bytes

Versions: 37

Compression:

Stored size: 703 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module CommandPS
    autoload :Errors, File.expand_path("../errors", __FILE__)

    class Plugin < Vagrant.plugin("2")
      name "powershell command"
      description <<-DESC
      The powershell command opens a remote PowerShell session to the
      machine if it supports powershell remoting.
      DESC

      command("powershell") do
        require_relative "command"
        init!
        Command
      end

      protected

      def self.init!
        return if defined?(@_init)
        I18n.load_path << File.expand_path("templates/locales/command_ps.yml", Vagrant.source_root)
        I18n.reload!
        @_init = true
      end
    end
  end
end

Version data entries

37 entries across 33 versions & 5 rubygems

Version Path
vagrant-unbundled-1.9.7.1 plugins/commands/powershell/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.14 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/commands/powershell/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.11 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/commands/powershell/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.10 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/commands/powershell/plugin.rb
vagrant-aws-mkubenka-0.7.2.pre.9 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/plugins/commands/powershell/plugin.rb
vagrant-unbundled-1.9.5.1 plugins/commands/powershell/plugin.rb
vagrant-unbundled-1.9.1.1 plugins/commands/powershell/plugin.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/commands/powershell/plugin.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/commands/powershell/plugin.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/commands/powershell/plugin.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/commands/powershell/plugin.rb
vagrant-unbundled-1.8.5.2 plugins/commands/powershell/plugin.rb
vagrant-unbundled-1.8.5.1 plugins/commands/powershell/plugin.rb
vagrant-unbundled-1.8.4.2 plugins/commands/powershell/plugin.rb
vagrant-unbundled-1.8.4.1 plugins/commands/powershell/plugin.rb
vagrant-unbundled-1.8.1.2 plugins/commands/powershell/plugin.rb
vagrant-unbundled-1.8.1.1 plugins/commands/powershell/plugin.rb