bin/cm in docurium-0.0.1 vs bin/cm in docurium-0.0.2

- old
+ new

@@ -17,9 +17,19 @@ file = args.first Docurium::CLI.doc(file, options) end end +desc 'Generate Docurium config file template' +long_desc 'Generate Docurium config file template' +command :gen do |c| + c.action do |global_options,options,args| + file = args.first || 'api.docurium' + Docurium::CLI.gen(file) + end +end + + pre { |global,command,options,args| true } post { |global,command,options,args| true } on_error do |exception|