Quillmark CLI
quillmark, the command-line interface to Quillmark: renders Markdown with card-yaml blocks through a quill into PDF, SVG, PNG, or Word.
Maintained by birdorbs.
Quillmark is pre-1.0. Its stability statement says what any release can change and what every release keeps.
Installation
Prebuilt binaries are on each GitHub Release, and cargo install quillmark-cli --locked builds from source. The CLI reference has the other routes and what quillmark --version prints.
Quick start
# The quill itself: it loads, and its empty, blank and example documents render
# Render a document; output defaults to document.pdf
# Omit the document to render the quill's example; --blank for its blank form
# Every diagnostic a document draws; --strict fails on warnings too
# Pipe the artifact instead of writing a file
|
my_quill is a quill directory, the one holding Quill.yaml. The
Quickstart builds one.
Commands
Each command and its options are in the CLI reference:
render: a quill's example, its blank form or a document into PDF, SVG, PNG or Wordcheck: a quill itself, or documents against its schema, optionally as a CI gate
quillkit (npx quillkit) is the full CLI: it accepts every quillmark invocation with the same result and adds adopt and the quiver tools.
Exit codes and --json
0 when done, and on --help and --version. 1 when the thing is wrong: an invalid quill, a failed render, a failed check. 2 when the invocation is wrong: an unknown flag, a missing argument, a value the command refuses (-f odt), a removed command. Diagnostics go to stderr. Under --json either command prints one report on stdout and nothing else.
Links
License
Licensed under the Apache License, Version 2.0. See LICENSE.