bin/ninjs in ninjs-0.13.0 vs bin/ninjs in ninjs-0.13.1

- old
+ new

@@ -43,17 +43,19 @@ command :create, :app_name, :dir => :optional do dir.nil? ? Ninjs::Command.create(app_name) : Ninjs::Command.create(app_name, dir) end - option :e - option :m + option :elements + option :model + flag :e => :elements + flag :m => :model command :generate, :object, :obj_name do with = { - :model => m.given?, - :elements => e.given? + :model => model.given?, + :elements => elements.given? } - + Ninjs::Command.generate(object, obj_name, with) end command :upgrade do Ninjs::Command.upgrade \ No newline at end of file