Skip to main content

Module builder

Module builder 

Source
Expand description

IR → clap Command tree builder

Converts ApiOperations into a clap Command tree grouped by tags.

Structs§

CliConfig
Configuration for building a CLI from an OpenAPI spec.

Enums§

CommandNaming
Strategy for generating CLI command names from operation IDs.

Functions§

build_commands
Build a clap Command tree from a list of API operations.
find_operation
Find the matching ApiOperation for a resolved group + operation name.
normalize_group
normalize_operation_id