MCPcopy Create free account
hub / github.com/FastLED/FastLED / main

Function main

ci/lint_cpp_rs/src/main.rs:3–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1use std::process::ExitCode;
2
3fn main() -> ExitCode {
4 match fastled_lint::run_cli(std::env::args().skip(1)) {
5 Ok(code) => ExitCode::from(code),
6 Err(err) => {
7 eprintln!("{err}");
8 ExitCode::from(2)
9 }
10 }
11}

Callers

nothing calls this directly

Calls 1

run_cliFunction · 0.85

Tested by

no test coverage detected