Files
account-manager/scripts/main.py
chendelian c428bedfd5
All checks were successful
技能自动化发布 / release (push) Successful in 34s
chore: auto release commit (2026-04-06 10:37:07)
2026-04-06 10:37:08 +08:00

19 lines
527 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""
account-manager CLI 入口。
业务逻辑按模块拆分am_*.py便于维护与满足 PyArmor trial 对单文件体积的限制。
"""
import sys
# Windows GBK 编码兼容修复(须在任何业务 import 与 print 之前)
if sys.platform == "win32":
import io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8", errors="replace")
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding="utf-8", errors="replace")
from am_cli import main
if __name__ == "__main__":
main()