lib/jets/commands/main.rb in jets-2.0.1 vs lib/jets/commands/main.rb in jets-2.0.3
- old
+ new
@@ -95,16 +95,16 @@
$stdout = $stderr # jets call operation
Call.new(function_name, payload, options).run
end
desc "generate [type] [args]", "Generates things like scaffolds"
- long_desc Jets::Generator.help
+ long_desc Help.text(:generate) # do use Jets::Generator.help as it'll load Rails const
def generate(generator, *args)
Jets::Generator.invoke(generator, *args)
end
desc "degenerate [type] [args]", "Destroys things like scaffolds"
- long_desc Jets::Generator.help
+ long_desc Help.text(:generate) # do use Jets::Generator.help as it'll load Rails const
def degenerate(generator, *args)
Jets::Generator.revoke(generator, *args)
end
desc "status", "Shows the current status of the Jets app"