12 releases (4 breaking)

Uses new Rust 2024

0.5.1 Feb 5, 2026
0.5.0 Feb 3, 2026
0.4.0 Jan 24, 2026
0.3.3 Jan 21, 2026
0.1.3 Jan 16, 2026

#193 in Text processing

Apache-2.0

470KB
11K SLoC

sara-cli

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.

Installation

cargo install sara-cli

Quick Start

quick start demo init

Commands

Command Description
sara check Parse documents and validate graph integrity
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 query <ID> Query items and traceability chains
sara report coverage Generate coverage report
sara report matrix Generate traceability matrix

Output Formats

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

Environment Variables

Variable Description
SARA_CONFIG Path to configuration file
NO_COLOR Disable colored output when set

Documentation

For full documentation, see the SARA repository.

License

Licensed under the Apache-2.0 License. See LICENSE for details.

Dependencies

~32–46MB
~843K SLoC