zenith-tool 0.0.7

The Zenith command-line interface (the `zenith` binary) for the design-document toolchain.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
description: Render a .zen document to PNG (or PDF / all pages) and report the output path.
argument-hint: "[path to .zen file] [optional: pdf | all-pages]"
allowed-tools:
  - Bash(zenith:*)
  - Glob
---

Render the Zenith document referenced by: **$ARGUMENTS**

1. First `zenith validate <file> --json`; if hard diagnostics exist, report them and stop (a
   broken document should not be silently rendered).
2. Then render:
   - default → `zenith render <file> --png <file>.png`
   - `pdf``zenith render <file> --pdf <file>.pdf` (print-ready)
   - `all-pages``zenith render <file> --all-pages <dir>/` (contact sheet, one PNG per page)
3. Report the output path(s). Run `zenith render --help` for `--page`, `--spread`, `--locked`.