anta/anta/cli/console.py
Daniel Baumann 2265bd9c67
Merging upstream version 0.14.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 11:39:09 +01:00

14 lines
397 B
Python

# Copyright (c) 2023-2024 Arista Networks, Inc.
# Use of this source code is governed by the Apache License 2.0
# that can be found in the LICENSE file.
"""ANTA Top-level Console.
https://rich.readthedocs.io/en/stable/console.html#console-api.
"""
from rich.console import Console
from rich.theme import Theme
from anta import RICH_COLOR_THEME
console = Console(theme=Theme(RICH_COLOR_THEME))