lib/docurium/cli.rb in docurium-0.6.0 vs lib/docurium/cli.rb in docurium-0.7.0

- old
+ new

@@ -1,10 +1,15 @@ class Docurium class CLI def self.doc(idir, options) + doc = Docurium.new(idir, options) + doc.generate_docs + end + + def self.check(idir, options) doc = Docurium.new(idir) - doc.generate_docs(options) + doc.check_warnings(options) end def self.gen(file) temp = <<-TEMPLATE