🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@getnote/cli

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getnote/cli - npm Package Compare versions

Comparing version
1.2.0
to
1.2.1
+1
-1
package.json
{
"name": "@getnote/cli",
"version": "1.2.0",
"version": "1.2.1",
"description": "CLI tool for 得到大脑(Get笔记) — manage notes and knowledge bases from the terminal",

@@ -5,0 +5,0 @@ "keywords": [

@@ -64,3 +64,3 @@ ---

```
getnote notes [--since-id <id>] [--all]
getnote notes [--cursor <cursor>] [--all]
```

@@ -72,3 +72,3 @@

|------|-------------|
| `--since-id` | Pagination cursor (last note ID seen) |
| `--cursor` | Pagination cursor (the `cursor` value from the previous page) |
| `--all` | Fetch all notes (auto-paginate, streams output) |

@@ -79,3 +79,3 @@

getnote notes --all
getnote notes --since-id 1234567890
getnote notes --cursor 1914025811879486080
getnote notes -o json

@@ -182,3 +182,3 @@ ```

- `task`: returns `{"success":true,"data":{"status":"...","note_id":"..."}}`
- `notes` list returns **20 per page** (no `--limit`); paginate with `--since-id`.
- `notes` list returns **20 per page** (no `--limit`); paginate with `--cursor` (the `cursor` value from the previous page).
- Note IDs are int64 — always handle as strings to avoid precision loss in JavaScript.

@@ -185,0 +185,0 @@ - Exit code `0` = success; non-zero = error. Error details go to stderr.

@@ -30,3 +30,3 @@ ---

> Note: `note_id` is only populated for `NOTE` type results. Other types (`FILE`, `BLOGGER`, `LIVE`, etc.) return an empty `note_id`.
> Note: `note_type` is one of `NOTE`, `FILE`, `BLOGGER`, `LIVE`, `URL`, `DEDAO`. `note_id` is only populated for `NOTE` type results; other types return an empty `note_id`.

@@ -33,0 +33,0 @@ ```bash