| Crates.io | sara-cli |
| lib.rs | sara-cli |
| version | 0.4.0 |
| created_at | 2026-01-16 12:12:04.74173+00 |
| updated_at | 2026-01-24 00:21:02.599247+00 |
| description | CLI for Sara - Requirements Knowledge Graph |
| homepage | |
| repository | https://github.com/cledouarec/sara |
| max_upload_size | |
| id | 2048521 |
| size | 181,468 |
Command-line interface for SARA - Solution Architecture Requirement for Alignment.
SARA is a CLI tool that manages architecture documents and requirements as an interconnected knowledge graph, providing a single source of truth for all teams and contributors.
cargo install sara-cli

| Command | Description |
|---|---|
sara diff <REF1> <REF2> |
Compare graphs between Git references |
sara edit <ID> |
Edit existing document metadata by item ID |
sara init <FILE> |
Initialize metadata in a Markdown file |
sara parse |
Parse documents and build the knowledge graph |
sara query <ID> |
Query items and traceability chains |
sara report coverage |
Generate coverage report |
sara report matrix |
Generate traceability matrix |
sara validate |
Validate graph integrity |
Most commands support multiple output formats:
# Text output (default)
sara report coverage
# JSON output
sara report coverage --format json
# CSV output
sara report matrix --format csv -o matrix.csv
| Variable | Description |
|---|---|
SARA_CONFIG |
Path to configuration file |
NO_COLOR |
Disable colored output when set |
For full documentation, see the SARA repository.
Licensed under the Apache-2.0 License. See LICENSE for details.