lib/napa/cli.rb in napa-0.1.14 vs lib/napa/cli.rb in napa-0.1.15
- old
+ new
@@ -3,7 +3,9 @@
module Napa
class CLI < Thor
register(Generators::ScaffoldGenerator, 'new', 'new <app_name> [app_path]',
'Create a new Napa scaffold')
+ register(Generators::ApiGenerator, 'generate', 'generate api <generator_name> <name>',
+ 'Create a Grape API and model')
end
end