新增:ekb agent rule-create 命令,支持新建审核规则

This commit is contained in:
gitea committed 2026-04-08 00:05:34 +08:00
1 parent 0f5b4c6272
commit 21d8832e44
3 files changed
+41

No files matched your search

+2
View File
@@ -7,6 +7,7 @@ from ekb_cli.commands.agent.logs import cmd_logs
from ekb_cli.commands.agent.update import cmd_update
from ekb_cli.commands.agent.rule_list import cmd_rule_list
from ekb_cli.commands.agent.rule_detail import cmd_rule_detail
from ekb_cli.commands.agent.rule_create import cmd_rule_create
app = typer.Typer(help="智能审核 Agent 管理")
@@ -16,3 +17,4 @@ app.command("update")(cmd_update)
app.command("logs")(cmd_logs)
app.command("rules")(cmd_rule_list)
app.command("rule-get")(cmd_rule_detail)
app.command("rule-create")(cmd_rule_create)