Skip to main content

fallow_cli/
lib.rs

1#![expect(
2    clippy::print_stdout,
3    clippy::print_stderr,
4    reason = "CLI binary produces intentional terminal output"
5)]
6
7#[allow(
8    dead_code,
9    unused_imports,
10    reason = "shared CLI library compiles bin-oriented support modules for reuse"
11)]
12mod api;
13#[allow(
14    dead_code,
15    unused_imports,
16    reason = "shared CLI library compiles bin-oriented support modules for reuse"
17)]
18mod baseline;
19#[allow(
20    dead_code,
21    unused_imports,
22    reason = "shared CLI library compiles bin-oriented support modules for reuse"
23)]
24mod check;
25/// CODEOWNERS file parser and ownership lookup.
26pub mod codeowners;
27#[allow(
28    dead_code,
29    unused_imports,
30    reason = "shared CLI library compiles bin-oriented support modules for reuse"
31)]
32mod combined;
33#[allow(
34    dead_code,
35    unused_imports,
36    reason = "shared CLI library compiles bin-oriented support modules for reuse"
37)]
38mod dupes;
39
40/// Structured error output for CLI and JSON formats.
41pub mod error;
42
43/// Metric and rule definitions for explainable CLI output.
44pub mod explain;
45
46#[allow(
47    dead_code,
48    unused_imports,
49    reason = "shared CLI library compiles bin-oriented support modules for reuse"
50)]
51mod health;
52/// Health / complexity analysis report types.
53pub mod health_types;
54#[allow(
55    dead_code,
56    unused_imports,
57    reason = "shared CLI library compiles bin-oriented support modules for reuse"
58)]
59mod license;
60
61/// Programmatic Rust API reused by the NAPI bindings.
62pub mod programmatic;
63
64/// Regression detection: baseline comparison and tolerance checking.
65pub mod regression;
66
67/// Report formatting utilities for analysis results.
68///
69/// Exposed for snapshot testing of output formats.
70pub mod report;
71
72#[allow(
73    dead_code,
74    unused_imports,
75    reason = "shared CLI library compiles bin-oriented support modules for reuse"
76)]
77mod runtime_support;
78#[allow(
79    dead_code,
80    unused_imports,
81    reason = "shared CLI library compiles bin-oriented support modules for reuse"
82)]
83mod validate;
84#[allow(
85    dead_code,
86    unused_imports,
87    reason = "shared CLI library compiles bin-oriented support modules for reuse"
88)]
89mod vital_signs;
90
91pub use runtime_support::{AnalysisKind, GroupBy};
92pub(crate) use runtime_support::{build_ownership_resolver, load_config_for_analysis};