feat(cli): 实现 nyahome config 命令

允许通过 nyahome 终端命令修改设置
同时再次调整数据库有关的内部常量的位置
This commit is contained in:
2026-06-06 10:04:26 +08:00
parent 82723038c3
commit ad3bafcd35
7 changed files with 143 additions and 11 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ from pathlib import Path
from typing import Mapping
from nyahome.cli.cli import console
from nyahome.database.engine import db_driver_available, db_type_allowlist
from nyahome.data import db_type_allowlist, db_driver_available
class CliWarning: