Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def nf_core_cli(verbose):
stderr = rich.console.Console(file=sys.stderr)
logging.basicConfig(
level=logging.DEBUG if verbose else logging.INFO,
format="%(message)s",
datefmt=".",
handlers=[rich.logging.RichHandler(console=stderr)],
)