zpl_toolchain_cli-0.1.1 is not a library.
cli
zpl command-line interface for parsing, syntax-checking, linting, and formatting ZPL.
Commands
Options
--tables: path toparser_tables.json(optional — tables are embedded at compile time by default).--profile: optional printer profile JSON for contextual checks (e.g.,^PW,^LL).--output pretty|json: force output mode (default: auto-detect TTY).
Behavior notes
syntax-check: Returnsok: truein JSON output unless there are Error-severity diagnostics. Warnings and info do not affect theokflag.--tables: When an explicit path is provided and the file cannot be read or parsed, the CLI reports the error and exits with code 1 (it does not silently fall back to embedded tables).
Format command
- Default: prints formatted ZPL to stdout.
--write(-w): overwrites the file in-place (only if content changed).--check: exits with code 1 if the file is not already formatted (for CI).--indent: indentation style —none(flat, default),label(2-space inside^XA/^XZ), orfield(label + 2-space inside^FO…^FS).