add version command

This commit is contained in:
Thomas Reynolds 2011-08-03 14:43:02 -07:00
parent 7eadbdb7d5
commit 73b9f4c9f0

View file

@ -61,6 +61,12 @@ module Middleman
`rm -rf views` `rm -rf views`
end end
desc "version", "Show Middleman version"
def version
require 'middleman/version'
say "Middleman #{Middleman::VERSION}"
end
private private
def config_check def config_check