add version command
This commit is contained in:
parent
7eadbdb7d5
commit
73b9f4c9f0
|
@ -61,6 +61,12 @@ module Middleman
|
|||
`rm -rf views`
|
||||
end
|
||||
|
||||
desc "version", "Show Middleman version"
|
||||
def version
|
||||
require 'middleman/version'
|
||||
say "Middleman #{Middleman::VERSION}"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def config_check
|
||||
|
|
Loading…
Reference in a new issue