@round2ai/r2-cli 1.0.12-beta.2 → 1.0.13
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/package.json
CHANGED
|
@@ -11,7 +11,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
11
11
|
const skillsDir = path.join(__dirname, "..", "skills");
|
|
12
12
|
|
|
13
13
|
try {
|
|
14
|
-
execSync(`npx skills add "${skillsDir}" --all`, {
|
|
14
|
+
execSync(`npx skills add "${skillsDir}" --all -g`, {
|
|
15
15
|
stdio: "inherit",
|
|
16
16
|
timeout: 60_000,
|
|
17
17
|
});
|
|
@@ -54,10 +54,11 @@ r2-cli goods list --stock-id <stockId> --page 2 --size 20 --json
|
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
56
|
r2-cli goods listing --json
|
|
57
|
-
r2-cli goods listing --status up --json
|
|
57
|
+
r2-cli goods listing --status up --json # 只看已上架
|
|
58
|
+
r2-cli goods listing --status sold --json # 只看已售出
|
|
58
59
|
r2-cli goods listing --shop-id <id> --json # 按店铺过滤
|
|
59
60
|
r2-cli goods listing --stock-goods-id <id> --json # 按商品过滤
|
|
60
61
|
r2-cli goods listing --id <id> --json # 精确查询
|
|
61
62
|
```
|
|
62
63
|
|
|
63
|
-
过滤参数:`--id`、`--stock-goods-id`、`--shop-id`、`--stock-id`、`--status`(init/up/down/fail)、`--platform`
|
|
64
|
+
过滤参数:`--id`、`--stock-goods-id`、`--shop-id`、`--stock-id`、`--status`(init/up/down/fail/sold)、`--platform`
|