pub mod cedar;
pub mod cli;
pub mod error;
pub mod policy;
pub mod rego;
pub mod rules;
pub mod types;
mod commands;
mod logging;
#[cfg(feature = "unstable")]
pub mod config;
#[cfg(not(feature = "unstable"))]
mod config;
#[cfg(feature = "unstable")]
pub mod deep;
#[cfg(not(feature = "unstable"))]
mod deep;
#[cfg(feature = "unstable")]
pub mod mcp;
#[cfg(not(feature = "unstable"))]
mod mcp;
#[cfg(feature = "unstable")]
pub mod output;
#[cfg(not(feature = "unstable"))]
mod output;
#[cfg(feature = "unstable")]
pub mod scanner;
#[cfg(not(feature = "unstable"))]
mod scanner;
pub fn run(cli: cli::Cli) -> error::Result<()> {
logging::init(cli.verbose);
let cfg = config::load_config(&cli.config)?;
commands::dispatch(cli, cfg)
}