config/state: add config.runtime.colors, fill in main.py

This commit is contained in:
InsanePrawn 2023-01-04 00:46:03 +01:00
parent c4797c709f
commit 00613096d5
4 changed files with 4 additions and 1 deletions

View file

@ -36,6 +36,7 @@ def cli(
force_progress_bars: Optional[bool] = None,
):
setup_logging(verbose, force_colors=force_colors)
config.runtime.colors = force_colors
config.runtime.verbose = verbose
config.runtime.progress_bars = force_progress_bars
config.runtime.no_wrap = wrapper_override is False