Skip to main content

run

Function run 

Source
pub fn run(
    config: Option<&Config>,
    options: &NewOptions,
) -> Result<(), CliError>
Expand description

Run the new command to scaffold a schema definition.

ยงErrors

Returns CliError if loading or validating the JSON schema definition fails, if interactive prompts are cancelled, or if writing the generated Rust schema files fails.