feature: add verbose flag, improve command output, improve error display
This commit is contained in:
+10
-1
@@ -1,10 +1,19 @@
|
||||
from rich.console import Console
|
||||
from rich.prompt import Prompt, Confirm
|
||||
from rich.panel import Panel
|
||||
from rich.prompt import Confirm, Prompt
|
||||
|
||||
console = Console(highlight=False)
|
||||
|
||||
|
||||
class Settings:
|
||||
"""Opciones globales de ejecución, configuradas desde la línea de comandos."""
|
||||
|
||||
verbose: bool = False
|
||||
|
||||
|
||||
settings = Settings()
|
||||
|
||||
|
||||
def success(msg: str):
|
||||
console.print(f":white_check_mark: [green]{msg}[/green]")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user