@dinoxx/dinox-cli 1.0.3 → 1.0.4

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 +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -88,7 +88,7 @@ dino info
88
88
  ## 第 1 步:登录
89
89
 
90
90
  ```bash
91
- dino auth login "Bearer <你的token>"
91
+ dino auth login "<你的token>"
92
92
  ```
93
93
 
94
94
  ## 第 2 步:同步
@@ -253,7 +253,7 @@ dino note create --title "测试" --content "@.\note.md"
253
253
  你还没有完成登录。执行:
254
254
 
255
255
  ```bash
256
- dino auth login "Bearer <token>"
256
+ dino auth login "<token>"
257
257
  ```
258
258
 
259
259
  ## Q2:创建笔记时报 `Unknown tags` 或 `Unknown zettel box names`
@@ -282,13 +282,13 @@ dino box add "你的卡片盒"
282
282
 
283
283
  ## 8.2 `auth` 命令
284
284
 
285
- ### `dino auth login <authorization>`
285
+ ### `dino auth login <token>`
286
286
 
287
287
  保存授权信息并验证连接。
288
288
 
289
289
  | 参数 | 必填 | 说明 |
290
290
  | --- | --- | --- |
291
- | `<authorization>` | 是 | 完整 Authorization 头值,例如:`"Bearer <token>"` |
291
+ | `<token>` | 是 | 登录 token,直接传 token 字符串(不需要 `Bearer` 前缀)。 |
292
292
 
293
293
  支持全局参数:`--json`、`--sync-timeout`
294
294
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dinoxx/dinox-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Dinox CLI",
5
5
  "main": "dist/dinox.js",
6
6
  "scripts": {