get_group
Creates and returns a TyperGroup from a Typer instance by extracting its configuration info, including exception formatting, markup mode, and command suggestions.
def get_group(
typer_instance: Typer
) - > TyperGroup
Creates and configures a TyperGroup instance from a Typer object, mapping its internal configuration to a CLI group structure.
Parameters
| Name | Type | Description |
|---|---|---|
| typer_instance | Typer | The Typer application instance containing the command definitions and UI configuration settings. |
Returns
| Type | Description |
|---|---|
TyperGroup | A configured TyperGroup object that represents the CLI command hierarchy and settings. |