@yixinkj/cli 1.0.9 → 1.0.11
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.
- package/README.md +9 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,14 @@ npx -y @yixinkj/cli@latest --help
|
|
|
9
9
|
npx -y @yixinkj/cli@latest --ads --period last-week
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
也可以全局安装后使用 `yixin` 快捷命令:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm i -g @yixinkj/cli
|
|
16
|
+
yixin --help
|
|
17
|
+
yixin --ads --period last-week
|
|
18
|
+
```
|
|
19
|
+
|
|
12
20
|
首次运行会从公开 GitHub Release 下载二进制到 `~/.yixin/bin`。
|
|
13
21
|
|
|
14
22
|
macOS 下下载完成后会自动处理每个二进制:
|
|
@@ -16,7 +24,7 @@ macOS 下下载完成后会自动处理每个二进制:
|
|
|
16
24
|
- 清除 `com.apple.quarantine`
|
|
17
25
|
- 设置可执行权限
|
|
18
26
|
|
|
19
|
-
授权、手机号保存、token
|
|
27
|
+
授权、手机号保存、token 缓存、广告后台登录检测、广告数据抓取、HTML 报告生成和报告自动打开均由原生 `alibaba-cli` 内置完成。默认检测到未登录会输出 `LOGIN_REQUIRED=true` 并退出,方便 Agent 提示用户登录后重试;人工手动运行需要等待登录时可追加 `--wait-login`。报告生成后,CLI 会自动关闭本次抓取数据时打开的广告后台页面。
|
|
20
28
|
|
|
21
29
|
## 环境变量
|
|
22
30
|
|