@getnote/cli 1.1.2 → 1.1.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.
- package/README.md +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -36,9 +36,9 @@ npx skills add iswalle/getnote-cli -y -g
|
|
|
36
36
|
```bash
|
|
37
37
|
getnote auth login
|
|
38
38
|
```
|
|
39
|
-
会自动打开浏览器完成授权。也可以直接用 API Key
|
|
39
|
+
会自动打开浏览器完成授权。也可以直接用 API Key(需同时传入 Client ID):
|
|
40
40
|
```bash
|
|
41
|
-
getnote auth login --api-key gk_live_xxx
|
|
41
|
+
getnote auth login --api-key gk_live_xxx --client-id cli_xxx
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
**第三步:开始用**
|
|
@@ -124,7 +124,7 @@ npx skills add iswalle/getnote-cli -y -g
|
|
|
124
124
|
|
|
125
125
|
```
|
|
126
126
|
getnote auth login OAuth 登录(浏览器授权)
|
|
127
|
-
getnote auth login --api-key <key>
|
|
127
|
+
getnote auth login --api-key <key> --client-id <id> 直接用 API Key 登录
|
|
128
128
|
getnote auth status 查看当前登录状态
|
|
129
129
|
getnote auth logout 退出登录
|
|
130
130
|
```
|
package/package.json
CHANGED