feat: rename config path var and add dedicated folder for logs

This commit is contained in:
Benexl
2025-07-27 11:48:18 +03:00
parent 19426019a2
commit fd74fbe2ef
4 changed files with 15 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ from typing import TYPE_CHECKING, Callable, List, Optional, Union
import click
from ...core.config import AppConfig
from ...core.constants import APP_DIR, USER_CONFIG_PATH
from ...core.constants import APP_DIR, USER_CONFIG
from .state import InternalDirective, MenuName, State
if TYPE_CHECKING:
@@ -191,7 +191,7 @@ class Session:
def _edit_config(self):
from ..config import ConfigLoader
click.edit(filename=str(USER_CONFIG_PATH))
click.edit(filename=str(USER_CONFIG))
logger.debug("Config changed; Reloading context")
loader = ConfigLoader()
config = loader.load()