Skip to main content

execute

Function execute 

Source
pub fn execute(args: &CheckArgs, ctx: &Context) -> Result<i32>
Expand description

Execute the haz check subcommand against the supplied Context.

Returns the process exit code that the binary should propagate (AUX-012).

ยงErrors

Returns a miette::Report on any failure of the underlying validation pipeline (AUX-010). The binary maps the report to the internal-or-configuration-error exit class (crate::EXIT_INTERNAL_OR_CONFIG_ERROR).