@ttpos/cli 0.10.0 → 0.11.0

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 (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -27,9 +27,11 @@
27
27
  请帮我安装 TTPOS 命令行工具并登录:
28
28
  1. 运行 npm install -g @ttpos/cli && npx skills add ZonEaseTech/ttpos-cli -g -y
29
29
  2. 运行 ttpos --version 确认安装成功
30
- 3. 把 ttpos auth login 放到后台运行,把它打印的授权链接和核对码发给我;我在浏览器里登录后,等命令自己退出
31
- 4. 运行 ttpos shop list,列出我能查看的商户
32
- 之后我问商户数据时,先读 ttpos-shared 技能再查。
30
+ 3. 问我用哪种账号登录,再把对应命令放到后台运行,把它打印的授权链接和核对码发给我;我在浏览器里登录后,等命令自己退出:
31
+ - 商户账号(查营业、订单、会员等门店数据):ttpos auth login
32
+ - 云平台账号(只查门店授权到期):ttpos auth login --cloud
33
+ 4. 商户账号登录后运行 ttpos shop list;云平台账号登录后运行 ttpos shop expiry
34
+ 之后我问 TTPOS 的数据时,先读 ttpos-shared 技能再查;只有用到另一种账号的命令时,才让我登录那个账号。
33
35
  ```
34
36
 
35
37
  登录必须由你本人在浏览器里完成,AI 助手不会、也不应该替你输入密码。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttpos/cli",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "TTPOS 只读运维 CLI(安装后提供 ttpos 命令)",
5
5
  "license": "UNLICENSED",
6
6
  "repository": { "type": "git", "url": "git+https://github.com/ZonEaseTech/ttpos-cli.git" },
@@ -8,10 +8,10 @@
8
8
  "engines": { "node": ">=18" },
9
9
  "files": ["bin/ttpos.js", "README.md"],
10
10
  "optionalDependencies": {
11
- "@ttpos/cli-linux-x64": "0.10.0",
12
- "@ttpos/cli-linux-arm64": "0.10.0",
13
- "@ttpos/cli-darwin-x64": "0.10.0",
14
- "@ttpos/cli-darwin-arm64": "0.10.0"
11
+ "@ttpos/cli-linux-x64": "0.11.0",
12
+ "@ttpos/cli-linux-arm64": "0.11.0",
13
+ "@ttpos/cli-darwin-x64": "0.11.0",
14
+ "@ttpos/cli-darwin-arm64": "0.11.0"
15
15
  },
16
16
  "publishConfig": { "access": "public" }
17
17
  }