okx-trade-cli 1.0.7 → 1.0.8
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 +4 -4
- package/bin/okx.mjs +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# okx-trade-cli
|
|
2
2
|
|
|
3
|
-
> `@
|
|
3
|
+
> `@okx_ai/okx-trade-cli` 的无 scope alias 包。
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
npm install okx-trade-cli
|
|
10
10
|
|
|
11
11
|
# 带 scope(官方标准写法)
|
|
12
|
-
npm install @
|
|
12
|
+
npm install @okx_ai/okx-trade-cli
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
两种方式完全等价,安装后暴露相同的可执行命令。
|
|
@@ -18,7 +18,7 @@ npm install @okx_retail/okx-trade-cli
|
|
|
18
18
|
|
|
19
19
|
| 命令 | 对应原包 | 用途 |
|
|
20
20
|
|------|---------|------|
|
|
21
|
-
| `okx` | `@
|
|
21
|
+
| `okx` | `@okx_ai/okx-trade-cli` | OKX CLI 工具 |
|
|
22
22
|
|
|
23
23
|
## 使用示例
|
|
24
24
|
|
|
@@ -46,7 +46,7 @@ npx okx --help
|
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
48
|
# 1. 更新依赖版本号
|
|
49
|
-
# "dependencies": { "@
|
|
49
|
+
# "dependencies": { "@okx_ai/okx-trade-cli": "^x.x.x" }
|
|
50
50
|
|
|
51
51
|
# 2. 同步本包版本号
|
|
52
52
|
npm version patch # 或 minor / major
|
package/bin/okx.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import '@
|
|
2
|
+
import '@okx_ai/okx-trade-cli';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "okx-trade-cli",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Alias package for @
|
|
3
|
+
"version": "1.0.8",
|
|
4
|
+
"description": "Alias package for @okx_ai/okx-trade-cli — supports both install methods",
|
|
5
5
|
"bin": {
|
|
6
6
|
"okx": "bin/okx.mjs"
|
|
7
7
|
},
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"keywords": ["okx", "cli", "trading", "alias"],
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@
|
|
16
|
+
"@okx_ai/okx-trade-cli": "^1.0.8"
|
|
17
17
|
}
|
|
18
18
|
}
|