Sha256: 3c74a95e62a22a92e2ad47c97e95af5240e1951c30016a6d82ca4af5f1edb815
Contents?: true
Size: 435 Bytes
Versions: 1
Compression:
Stored size: 435 Bytes
Contents
#!/usr/bin/env ruby require "forwardable" require "optparse" require "bundler/setup" require "grokdown" require "grokdown/document" document_definition = Pathname.glob(".grokdown").find { _1.exist? } load document_definition parser = OptionParser.new parser.on("-e [ruby expression]", "Ruby expression to evaluate after loading the Grokdown document definition") do |value| puts Grokdown.module_eval(value) end parser.parse!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grokdown-0.4.0 | exe/grokdown |