@bpview/cli
v0.1.0
Published
ybp: the Yarlis Blueprint command line. Validate and render Blueprint diagrams and the diagram blocks in Markdown, locally and in CI.
Maintainers
Readme
@bpview/cli
ybp, the Yarlis Blueprint command line:
validate and render Blueprint diagrams and the diagram blocks in Markdown, locally and in CI.
npx -y -p @bpview/cli ybp init
ybp validate docs/diagrams/ --strict
ybp render architecture.ybp --format svg --output dist/architecture.svg
ybp render -i BRD.md -o dist/BRD.rendered.md --assets-dir dist/BRD.assets --theme yarlisExit codes: 0 ok, 1 invalid (or warnings with --strict), 2 usage, 3 render or I/O
failure, 64 planned but not supported yet. --json on validate and render prints a
machine-readable report; in GitHub Actions, diagnostics become file annotations.
Node 22.12 or later. Apache-2.0.
