stubber.commands.cli ==================== .. py:module:: stubber.commands.cli .. autoapi-nested-parse:: command line interface - main group Functions --------- .. autoapisummary:: stubber.commands.cli.stubber_cli stubber.commands.cli.set_loglevel Module Contents --------------- .. py:function:: stubber_cli(ctx: rich_click.Context, verbose: int = 0) -> None .. py:function:: set_loglevel(verbose: int) -> str Set log level based on verbose level Get the level from the verbose setting (0=INFO, 1=DEBUG, 2=TRACE) Set the format string, based on the level. Add the handler to the logger, with the level and format string. Return the level