mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 22:27:13 +08:00
feat(cli): add portable data backup and restore
This commit is contained in:
@@ -7,6 +7,7 @@ from cli.commands.process import start, stop, restart, self_restart, update, sta
|
||||
from cli.commands.context import context
|
||||
from cli.commands.install import install_browser
|
||||
from cli.commands.knowledge import knowledge
|
||||
from cli.commands.backup import backup_command, restore_command
|
||||
|
||||
|
||||
HELP_TEXT = """Usage: cow COMMAND [ARGS]...
|
||||
@@ -24,6 +25,8 @@ Commands:
|
||||
logs View CowAgent logs.
|
||||
skill Manage CowAgent skills.
|
||||
knowledge Manage knowledge base.
|
||||
backup Back up config and agent workspace.
|
||||
restore Restore a CowAgent backup.
|
||||
install-browser Install browser tool (Playwright + Chromium).
|
||||
|
||||
Tip: Memory index management lives in chat — send /memory status or
|
||||
@@ -74,6 +77,8 @@ main.add_command(status)
|
||||
main.add_command(logs)
|
||||
main.add_command(context)
|
||||
main.add_command(knowledge)
|
||||
main.add_command(backup_command)
|
||||
main.add_command(restore_command)
|
||||
main.add_command(install_browser)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user