config: move code from __init__.py into cli.py

This commit is contained in:
InsanePrawn 2022-10-08 04:04:27 +02:00
parent 777b3172d8
commit 33f4a81981
28 changed files with 33 additions and 31 deletions

View file

@ -315,3 +315,6 @@ class ConfigStateHolder:
new = {key: val for key, val in new.items() if val is not None}
self.file.profiles[name] = new
self.invalidate_profile_cache()
config: ConfigStateHolder = ConfigStateHolder(file_conf_base=CONFIG_DEFAULTS)