Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 275 Bytes
import sys
from jstools import jst
len(sys.argv) > 3 or sys.exit("Usage: doc.py <repo> <template> <output>")
print sys.argv[1]
parser = jst.DocParser({
"root": sys.argv[1], "template": sys.argv[2], "output": sys.argv[3]
})
parser.add_section("geoscript.js")
parser.run()