summaryrefslogtreecommitdiffstats
path: root/anta/cli/console.py
blob: 9c57d6d644020a71d7c4a0e9a31527094e731f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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))