Crate adrscope

Crate adrscope 

Source
Expand description

§ADRScope

A lightweight visualization tool for Architecture Decision Records.

ADRScope generates self-contained HTML viewers for ADRs following the structured-madr format. It supports faceted search, relationship graphs, and GitHub Wiki generation.

§Quick Start

use adrscope::application::{GenerateOptions, GenerateUseCase};
use adrscope::infrastructure::fs::RealFileSystem;

let fs = RealFileSystem::new();
let use_case = GenerateUseCase::new(fs);
let options = GenerateOptions::new("docs/decisions")
    .with_output("adr-viewer.html");

let result = use_case.execute(&options)?;
println!("Generated viewer with {} ADRs", result.adr_count);

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

application
Application layer containing use cases.
cli
Command-line interface layer.
domain
Domain layer containing core business logic.
error
Unified error types for ADRScope operations.
infrastructure
Infrastructure layer for external concerns.