event-modeling-cli
v1.0.0
Published
Event Modeling CLI - render .evml models to SVG and DrawIO diagrams
Maintainers
Readme
Event Modeling CLI
Render Event Modeling models written in the
.evml DSL to SVG or Draw.io diagrams.
Install
npm install -g event-modeling-cliInstalls a single binary named evml on your PATH.
Usage
evml svg <file> [-d <dir>] # generate SVG
evml drawio <file> [-d <dir>] # generate Draw.io (mxGraph XML) diagram
evml --version
evml --help-d, --destination <dir> sets the output directory and is created if missing.
It defaults to a generated/ directory next to the input file.
evml svg model.evml -d out
# SVG generated successfully: out/model.svgStability
evml svg and evml drawio are public API:
- exit code
0on success, non-zero on any failure - diagnostics on stderr, success message on stdout
- breaking either subcommand, or the
evmlbinary name, is a major bump
Released in lockstep with
event-modeling-language
at matching versions.
Requires Node.js >= 20.10.0.
