14 lines
357 B
Ruby

module Vagrant
module Command
class VersionCommand < Base
register "version", "Prints the Vagrant version information", :alias => %w(-v --version)
def version
env.ui.info(I18n.t("vagrant.commands.version.output",
:version => Vagrant::VERSION),
:prefix => false)
end
end
end
end