asc CLI 凭证类错误改为 exit 3 并直接打印登录设置命令

rudrank · x · 2026-10-10

rudrank 介绍 asc CLI 的错误处理改进:凭证缺失、profile 未知、配置损坏或 keychain 访问被拒,现在统一以 exit code 3 退出,并打印完整设置命令:

asc auth login --name "MyKey" --key-id "ABC123" --issuer-id "DEF456" --private-key ./AuthKey.p8

如果 profile 不存在,错误信息会列出你已有的全部 profile。

原文链接 →

「编程与Agent」频道最新

更多「编程与Agent」频道 AI 资讯 →