run
This function converts a given function to a CLI application with Typer() and executes it.
def run(
function: Callable[..., Any]
) - > None
This function converts a given function to a CLI application with Typer() and executes it.
Parameters
| Name | Type | Description |
|---|---|---|
| function | Callable[..., Any] | The function that should power this CLI application. |
Returns
| Type | Description |
|---|---|
None | Nothing is returned as the function executes the CLI application and exits. |