Sha256: 191733bba3859f2ae9b009194d8c4ca040ea5491d236615487a17e2cd66cd51a

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

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.check_warnings(options)
    end

    def self.gen(file)

temp = <<-TEMPLATE
{
 "name":   "project",
 "github": "user/project",
 "input":  "include/lib",
 "prefix": "lib_",
 "branch": "gh-pages"
}
TEMPLATE
      puts "Writing to #{file}"
      File.open(file, 'w+') do |f|
        f.write(temp)
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
docurium-0.7.0 lib/docurium/cli.rb