2010-08-27 21:12:18 -07:00

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