aboutsummaryrefslogtreecommitdiff
path: root/filehtml.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2019-08-06 00:13:54 +0700
committerShulhan <m.shulhan@gmail.com>2019-08-14 00:41:34 +0700
commitb1dd2bce666fe8217c35b9fab443035f25bfad26 (patch)
tree2b92c84d41bcabff29f7ff9f53139cee9e8e4368 /filehtml.go
parentb1bdf9d3fa2c830d4c59d3a56111e26a92619108 (diff)
downloadciigo-b1dd2bce666fe8217c35b9fab443035f25bfad26.tar.xz
cmd/ciigo: a CLI to convert, generate, and serve markup files
Here are the usage of CLI, ciigo [-template <file>] convert <dir> Scan the "dir" recursively to find markup files (.adoc or .md) and convert them into HTML files. The template "file" is optional, default to "templates/html.tmpl" in the current directory. ciigo [-template <file>] [-out <file>] generate <dir> Convert all markup files inside directory "dir" recursively and then embed them into ".go" source file. The output file is optional, default to "ciigo_static.go" in current directory. ciigo [-template <file>] [-address <ip:port>] serve <dir> Serve all files inside directory "dir" using HTTP server, watch changes on markup files and convert them to HTML files automatically. If the address is not set, its default to ":8080".
Diffstat (limited to 'filehtml.go')
0 files changed, 0 insertions, 0 deletions