lib/jets/commands/main.rb in jets-1.4.5 vs lib/jets/commands/main.rb in jets-1.4.6

- old
+ new

@@ -129,9 +129,15 @@ puts "use #{middleware.name}" end puts "run #{Jets.application.endpoint}" end + desc "upgrade", "Upgrade Jets" + long_desc Help.text(:upgrade) + def upgrade + Jets::Commands::Upgrade.new(options).run + end + desc "version", "Prints Jets version" long_desc Help.text(:version) def version puts Jets.version end