Skip to main content

run_validate

Function run_validate 

Source
pub fn run_validate(paths: &[PathBuf], quiet: bool, format: OutputFormat) -> i32
Expand description

Entry point for agx validate. Returns the process exit code (0, 1, or 2).

  • 0: all files clean
  • 1: at least one file has errors
  • 2: no files given