react-traits 0.3.0

Scan React components and report their traits
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::process::ExitCode;

fn main() -> ExitCode {
    match react_traits::run_cli() {
        Ok(code) => code,
        Err(e) => {
            eprintln!("{e:#}");
            ExitCode::from(2)
        }
    }
}