Skip to main content

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

NameTypeDescription
functionCallable[..., Any]The function that should power this CLI application.

Returns

TypeDescription
NoneNothing is returned as the function executes the CLI application and exits.