@yunkeai/yunke-cli 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +5 -4
  2. package/dist/bundle.js +370 -29
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -61,10 +61,11 @@ yunke help
61
61
  云客 CRM 集成插件,提供认证、组织架构查询和报表功能。
62
62
 
63
63
  ```bash
64
- # 登录(三步)
65
- yunke crm.auth.send-code --phone 13800138000
66
- yunke crm.auth.verify --phone 13800138000 --sms_code 123456
67
- yunke crm.auth.login --phone 13800138000 --sms_code 123456 --corp_id <corp_id>
64
+ # 登录(浏览器 OAuth 授权,凭证写入 ~/.yunke/crm.json)
65
+ yunke crm.auth.login-web
66
+
67
+ # 查看登录状态(exit 0 + "Logged in as <名字>" = 已登录)
68
+ yunke crm.auth.status
68
69
 
69
70
  # 查询部门树
70
71
  yunke crm.org.department-tree