Metadata-Version: 2.1
Name: holarch-cli
Version: 1.0.0
Summary: Check, format and export SysML v2 models with the Holarch Language Engine (paid Holarch plans and engine licensees).
Home-page: https://holarch.app/docs/command-line/
Author: Holarch (Angry Pixie Electronics LLC)
License: Proprietary (see LICENSE.txt)
License-File: LICENSE.txt
Requires-Python: >=3.9
Requires-Dist: cryptography>=41
Keywords: SysML, SysML v2, KerML, MBSE, CI, Holarch Language Engine 2.1.3
Project-URL: Documentation, https://holarch.app/docs/command-line/
Description-Content-Type: text/markdown

# holarch

Check, format and export SysML v2 models with the Holarch Language Engine, the engine of the Holarch editor. Run it on
your computer or in a build: it checks every `.sysml` and `.kerml` file in a folder, reports problems with file, line
and column, and exits with a non-zero code when the model has errors, so a change with a broken model fails its checks.

```
python3 -m pip install holarch-cli
export HOLARCH_API_KEY=hol_...        # Account Settings → API tokens in Holarch
holarch check models/
```

- `holarch check`: syntax, names and types; text, JSON, SARIF and GitHub annotation reports.
- `holarch format`: rewrite files in the canonical layout (`--check` to only report).
- `holarch export`: SysML v2 JSON.

It needs an API token of a Holarch Individual or Team plan, or a Holarch Language Engine license file for offline
runners. Wheels are available for Linux (x86-64, arm64) and macOS (Apple silicon), Python 3.9 or later.

Documentation: https://holarch.app/docs/command-line/
