Skip to main content

run

Function run 

Source
pub fn run(
    out: &mut dyn Write,
    args: &SchemaArgs,
) -> Result<SchemaReport, CliError>
Expand description

Emit the manifest JSON schema to out, or to SchemaArgs::output when set.

ยงErrors

Returns CliError::Io if writing to SchemaArgs::output (or, with no output, to out itself) fails.