Sha256: 887147dee053fe1ad70769ccc3050904189067139c46372f8e9043395d7367ff

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

require 'optparse'

module VagrantPlugins
  module CommandHelp
    class Command < Vagrant.plugin("2", :command)
      def execute
        return @env.cli([]) if @argv.empty?
        @env.cli([@argv[0], "-h"])
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tamtam-vagrant-reload-1.1.3 vendor/cache/vagrant-0ac2a8738841/plugins/commands/help/command.rb
tamtam-vagrant-reload-1.1.2 vendor/cache/vagrant-0ac2a8738841/plugins/commands/help/command.rb
tamtam-vagrant-reload-1.1.1 vendor/cache/vagrant-0ac2a8738841/plugins/commands/help/command.rb
tamtam-vagrant-reload-1.1 vendor/cache/vagrant-0ac2a8738841/plugins/commands/help/command.rb
tnargav-1.3.6 plugins/commands/help/command.rb
tnargav-1.3.3 plugins/commands/help/command.rb