mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-24 02:10:53 -05:00
12 lines
238 B
Ruby
12 lines
238 B
Ruby
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
|