Skip to main content

run

Function run 

Source
pub fn run(args: SchemaArgs) -> Result<(), AppError>
Expand description

Runs the schema subcommand: catalogue listing or single-document emit.

Never opens the database and never requires an embedding API key.

§Errors

Returns AppError::NotFound when --name is not a known id, or the error surfaced by emit for a known one.