Add interactive navctl menu for install, uninstall, and update.
Provide navctl.py with a numbered menu, persist install path in config, and support curl bootstrap without pre-cloning the repo. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-2
@@ -315,8 +315,8 @@ def main() -> None:
|
||||
args = parse_args()
|
||||
if not (ROOT / "app.py").is_file():
|
||||
_fail(
|
||||
"请在 LocalNav 项目目录内运行,或使用 scripts/install.py 自动克隆安装:\n"
|
||||
" python scripts/install.py"
|
||||
"请在 LocalNav 项目目录内运行,或使用部署管理脚本:\n"
|
||||
" python scripts/navctl.py"
|
||||
)
|
||||
|
||||
print(f"LocalNav 项目部署 · {platform.system()} {platform.release()}")
|
||||
|
||||
Reference in New Issue
Block a user