0.1.0 • Published 2 years ago
elm-postiche-cli v0.1.0
elm-postiche-cli
Generate unsound HTML from any Elm documentation metadata.
About
postiche
is a command line tool which takes Elm's documentation metadata (docs.json
) as input and generate a set of HTML and Markdown files to host the doc elsewhere.
It uses docsify to render contents.
Examples
Try:
$ elm reactor
Then navigate to src/Example.elm
.
Development
Build worker
$ pnpm make:elm
Build executable
$ pnpm bundle
Try executable with:
$ node ./bin/postiche --help
Options:
--help Show help [boolean]
--version Show version number [boolean]
-o, --output where to generate HTML into [string]
-p, --spec package specification, <author>/<package> [string]
--docs path of JSON file contains document info [string]
Example usage
$ node ./bin/postiche --spec elm/core --docs docs.json
License
MIT
0.1.0
2 years ago