ferrograph 1.3.0

Graph-powered Rust code intelligence
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! CLI entry point for Ferrograph.

use std::process::ExitCode;

use clap::Parser;

use ferrograph::config::Cli;

fn main() -> ExitCode {
    let cli = Cli::parse();
    match ferrograph::config::run(cli) {
        Ok(()) => ExitCode::SUCCESS,
        Err(e) => {
            eprintln!("error: {e:#}");
            ExitCode::FAILURE
        }
    }
}