fix(kb_workflow): resolve module/package naming conflict
PR Test / lint (pull_request) Successful in 1s

Rename kb_workflow.py to cli.py to avoid conflict with kb_workflow/ package.
Add __main__.py to support `python -m kb_workflow` execution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-18 10:35:33 +08:00
parent 9d2433322a
commit 9c8ac34138
3 changed files with 35 additions and 19 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
KB Workflow 包入口点
支持通过 python -m kb_workflow 直接运行 CLI。
"""
from .cli import main
if __name__ == '__main__':
main()