module documentation

Undocumented

Function _is_builtin_cyclopts_command Return True for Cyclopts-generated help/version callbacks.
Function _iter_unique_subapps Deduplicate Cyclopts subapps because aliases share the same app object.
Function _primary_name Return the primary command name from a Cyclopts app name value.
Function _wrap_cyclopts Wrap commands/subapps recursively in a Cyclopts app.
def _is_builtin_cyclopts_command(app: cyclopts.App, default_command: object) -> bool:

Return True for Cyclopts-generated help/version callbacks.

def _iter_unique_subapps(subapps: Iterable[object]) -> list[cyclopts.App]:

Deduplicate Cyclopts subapps because aliases share the same app object.

def _primary_name(name: tuple[str, ...] | str | None) -> str:

Return the primary command name from a Cyclopts app name value.

def _wrap_cyclopts(app: cyclopts.App, telemetry: Telemetry, *, allowlist: set[str] | None, include_system_metadata: bool | None, exclude_commands: set[str] | None, prefix: str):

Wrap commands/subapps recursively in a Cyclopts app.