lib/citrin/cli.rb in citrin-0.1.6 vs lib/citrin/cli.rb in citrin-0.1.7
- old
+ new
@@ -11,9 +11,11 @@
Citrin::Commands.load
name = args[0]
env = args[1]
app = Citrin::App.new(name, env)
case command
+ when 'version', '--version', '-v'
+ puts Citrin::VERSION
when "create_database"
return Commands::CreateDatabase.run(app)
when "create_webserver"
return Commands::CreateWebserver.run(app)
when "setup_logrotate"