add version command
This commit is contained in:
parent
7eadbdb7d5
commit
73b9f4c9f0
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue