finesse.cli.util.KatState

Overview

class finesse.cli.util.KatState[source]

Bases: object

Shared state for all CLI subcommands.

This object gets built by Click when the CLI is called and encapsulates global settings for use by individual commands/groups.

Properties

KatState.debug

KatState.isverbose

Verbose output enabled.

KatState.log_display_level

Log verbosity on stdout.

Methods

KatState.__init__()

KatState.exclude(pattern)

Exclude records from loggers with names matching the specified pattern.

KatState.exit([code])

Stop execution.

KatState.print([text, indent, error, exit_, ...])

KatState.print_banner([kat_file])

Print the Finesse banner.

KatState.print_error(exception_or_msg[, ...])