Structs§
- Bool
Flag Pair - A single boolean –flag / –no-flag pair generated from a
type: booleanproperty. - Schema
Args - Full output of schema_to_clap_args.
Enums§
- Schema
Parser Error - Error type for schema parsing failures.
Constants§
Functions§
- extract_
help - Extract help text from a schema property.
Prefers
x-llm-descriptionoverdescription. Truncates tomax_lenchars (default: HELP_TEXT_MAX_LEN). - extract_
help_ with_ limit - Extract help text with a configurable max length.
- map_
type - Map a single schema property to a clap::Arg.
- prop_
name_ to_ flag_ name - Convert a property name (snake_case) to a CLI flag long name (kebab-case).
- reconvert_
enum_ values - Re-map string enum values from CLI args back to their JSON-typed forms.
- schema_
to_ clap_ args - Translate a JSON Schema
propertiesmap into a SchemaArgs result. - schema_
to_ clap_ args_ with_ limit - Convert JSON Schema properties to clap Args with a configurable help text max length.