|
@@ -28,10 +28,11 @@ func main() {
|
|
g.Target(smd)
|
|
g.Target(smd)
|
|
g.Description("command line tool for generating static html from markdown")
|
|
g.Description("command line tool for generating static html from markdown")
|
|
g.Add("web", "parse into individual files matching the original file name", "STATIC_WEB", "--web", "-w")
|
|
g.Add("web", "parse into individual files matching the original file name", "STATIC_WEB", "--web", "-w")
|
|
- g.Add("template", "path to user-defined template file", "STATIC_TEMPLATE", "--template", "-t:")
|
|
|
|
|
|
+ g.Add("title", "the title to give to the processed files", "STATIC_TITLE", "--title", "-t:")
|
|
g.Add("input", "path to the markdown files", "STATIC_INPUT", "--input", "-i:")
|
|
g.Add("input", "path to the markdown files", "STATIC_INPUT", "--input", "-i:")
|
|
g.Add("output", "path to place generated content", "STATIC_OUTPUT", "--output", "-o:")
|
|
g.Add("output", "path to place generated content", "STATIC_OUTPUT", "--output", "-o:")
|
|
g.Add("version", "optional user-defined version", "STATIC_VERSION", "--version", "-v:")
|
|
g.Add("version", "optional user-defined version", "STATIC_VERSION", "--version", "-v:")
|
|
|
|
+ g.Add("template", "path to user-defined template file", "STATIC_TEMPLATE", "--template")
|
|
g.Example("-t template.tmpl -i . -b")
|
|
g.Example("-t template.tmpl -i . -b")
|
|
g.Example("-t template.tmpl -i src/ -o out/ -r")
|
|
g.Example("-t template.tmpl -i src/ -o out/ -r")
|
|
g.Load()
|
|
g.Load()
|