Permalink
Browse files

Add command line flag for current version

  • Loading branch information...
1 parent f88ba8b commit 3839096afb60f7ef1ab7fe8dcd09ded4d591d436 @johanbrook committed Jun 19, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/grund/generator.rb
@@ -14,6 +14,8 @@ def initialize(args)
def run
if @command == "install"
get_zip @url
+ elsif @command == "-v" or @command == "--version"
+ puts "Grund #{Grund::VERSION}"
else
help
end

0 comments on commit 3839096

Please sign in to comment.