1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
//! Repotoire - Graph-powered code analysis CLI //! //! A fast, local-first code analysis tool that uses knowledge graphs //! to detect code smells, architectural issues, and technical debt. pub mod ai; mod cli; mod detectors; pub mod git; mod graph; mod mcp; pub mod models; mod parsers; mod pipeline; mod reporters; use anyhow::Result; use clap::Parser; use tracing_subscriber::{fmt, prelude::*, EnvFilter}; fn main() -> Result<()> { // Initialize logging tracing_subscriber::registry() .with(fmt::layer()) .with(EnvFilter::from_default_env()) .init(); // Parse CLI args and run let cli = cli::Cli::parse(); cli::run(cli) }