Coverage for src / ezpl / cli / _console.py: 100.00%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-03-13 19:35 +0000

1# /////////////////////////////////////////////////////////////// 

2# EZPL - Shared CLI Console 

3# Project: ezpl 

4# /////////////////////////////////////////////////////////////// 

5 

6""" 

7Shared Rich Console instance for all CLI modules. 

8 

9Centralizes Console creation so that output configuration 

10(e.g., no_color, stderr, force_terminal) can be adjusted in one place. 

11""" 

12 

13from __future__ import annotations 

14 

15# Third-party imports 

16from rich.console import Console 

17 

18# /////////////////////////////////////////////////////////////// 

19# SHARED INSTANCE 

20# /////////////////////////////////////////////////////////////// 

21 

22console: Console = Console()