- assets/: sap-cli source (v2.1.0, 26 commands, 16 object types) - references/: tool constraints + error handling (self-contained) - scripts/setup.py: one-click install/config/verify - SKILL.md: full command reference + dual-platform install guide - VERSION: 2.1.0 Built from D:/Codespace/sap-cli via scripts/pack_skill.py
17 lines
555 B
Python
17 lines
555 B
Python
"""
|
|
sap-cli — 基于 SAP ADT REST API 的 ABAP 开发对象管理工具
|
|
|
|
用法:
|
|
python main.py download --name ZMY_PROGRAM --type report --path ./output
|
|
python main.py sync --name ZMY_PROGRAM --type report --path ./zmy_program.abap
|
|
python main.py delete --name ZMY_PROGRAM --type report
|
|
|
|
配置:
|
|
默认读取脚本同目录下的 config.ini,也可通过 --config 指定。
|
|
环境变量 SAP_HOST / SAP_CLIENT / SAP_USER / SAP_PASSWORD 可覆盖配置文件。
|
|
"""
|
|
from sapcli.cli.app import main
|
|
|
|
if __name__ == "__main__":
|
|
main()
|