Skip to main content

Module commands

Module commands 

Source
Expand description

Command implementations for the Zenith CLI.

Each submodule exposes a pure function whose core logic operates on in-memory source bytes/strings โ€” never touching the filesystem. File I/O (reading the document, writing formatted source or rendered output) is the responsibility of the dispatcher in lib.rs.

Modulesยง

fmt
Pure logic for zenith fmt.
fonts
Local/system font discovery for the CLI.
inspect
zenith inspect command โ€” module wiring.
library
Pure logic for zenith library list, zenith library show, and zenith library add.
merge
Pure logic for zenith merge.
new
Pure-ish logic for zenith new.
plugin
zenith plugin โ€” install the Zenith agent skill into AI coding tools.
render
Pure logic for zenith render.
schema
Pure logic for zenith schema.
theme
Pure logic for zenith theme new.
tokens
Pure logic for zenith tokens.
tx
Pure logic for zenith tx.
validate
Pure logic for zenith validate.
variant
Variant generation: pure engine and CLI command wiring.
workspace
Pure logic for zenith workspace scratch, zenith workspace candidate, zenith workspace promote, zenith workspace bundle, zenith workspace unbundle, and zenith workspace finalize.