15 lines
360 B
Ruby
15 lines
360 B
Ruby
module Vagrant
|
|
module Command
|
|
class VersionCommand < Base
|
|
desc "Prints the Vagrant version information"
|
|
register "version", :alias => %w(-v --version)
|
|
|
|
def version
|
|
env.ui.info("vagrant.commands.version.output",
|
|
:version => Vagrant::VERSION,
|
|
:_prefix => false)
|
|
end
|
|
end
|
|
end
|
|
end
|