sara-cli 0.5.1

CLI for Sara - Requirements Knowledge Graph
sara-cli-0.5.1 is not a library.

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.