@getnote/cli
Advanced tools
+2
-2
| { | ||
| "name": "@getnote/cli", | ||
| "version": "1.1.0", | ||
| "version": "1.1.1", | ||
| "description": "CLI tool for Get笔记 — manage notes and knowledge bases from the terminal", | ||
@@ -29,2 +29,2 @@ "keywords": [ | ||
| ] | ||
| } | ||
| } |
@@ -28,3 +28,6 @@ --- | ||
| - URL (`http://` or `https://`) → link note (async, auto-polls until done) | ||
| - URL (`http://` or `https://`) → link note: | ||
| - **Share link** (`biji.com/note/share_note/*` or `d.biji.com/*` short link) → **sync**, returns `note_id` directly, no polling needed | ||
| - **Internal note link** (`biji.com/note/{note_id}`) → this is the format for linking to another note inside note content; use it in `content` field when referencing other notes. If the current note will be shared publicly, prefer using the referenced note's share link (`getnote note share <id>`) instead of the internal link format | ||
| - **Other URLs** → async, auto-polls until done | ||
| - Local image path → image note (async, auto-polls until done) | ||
@@ -170,3 +173,4 @@ - Otherwise → text note (sync) | ||
| - `save` (text): returns `{"note_id":"..."}` directly | ||
| - `save` (link/image): returns `{"data":{"tasks":[{"task_id":"..."}],...}}` | ||
| - `save` (share link): returns `{"note_id":"...","title":"...","created_at":"...","updated_at":"..."}` directly | ||
| - `save` (regular link/image): returns `{"data":{"tasks":[{"task_id":"..."}],...}}` | ||
| - `task`: returns `{"success":true,"data":{"status":"...","note_id":"..."}}` | ||
@@ -173,0 +177,0 @@ - `notes` list returns **20 per page** (no `--limit`); paginate with `--since-id`. |
7850759
0.01%