feat: 添加自启动机制,移除 --advice 参数
- 创建 bootstrap.py 承载实际 CLI 逻辑 - 重写 lyxy_document_reader.py 为轻量入口,自动检测依赖并启动 - 使用 subprocess.run() 实现跨平台兼容的自启动 - 移除 --advice 参数及相关测试 - 更新文档和规范,简化使用方式
This commit is contained in:
@@ -131,7 +131,7 @@ class TestGeneratePythonCommand:
|
||||
script_path="scripts/lyxy_document_reader.py"
|
||||
)
|
||||
assert python_cmd == "python scripts/lyxy_document_reader.py input.pdf"
|
||||
assert pip_cmd == "pip install pkg1 pkg2"
|
||||
assert pip_cmd == "pip install pyarmor pkg1 pkg2"
|
||||
|
||||
|
||||
class TestFormatAdvice:
|
||||
|
||||
Reference in New Issue
Block a user