Skip to content

API


generate_options(struct: type[msgspec.Struct]) -> list[click.Option]

Parameters:

Name Type Description Default
struct type[Struct]

The msgspec.Struct type with which to generate options.

required

Returns:

Type Description
list[Option]

A list of click.Option instances.