summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristopher Warner <cwarner@kernelcode.com>2026-10-10 18:49:01 -0400
committerChristopher Warner <cwarner@kernelcode.com>2026-10-10 18:49:01 -0400
commitbe0d09e2cb91ef391d7455334fc5ed15d6f5649a (patch)
treebc3b8d3c3b79de695761b750789aeb2ddaf8df49 /README.md
parentb5e522306f3f4153f633618b8d1e36dc8bbf6371 (diff)
downloadiphone-notes-be0d09e2cb91ef391d7455334fc5ed15d6f5649a.tar.gz
iphone-notes-be0d09e2cb91ef391d7455334fc5ed15d6f5649a.tar.bz2
iphone-notes-be0d09e2cb91ef391d7455334fc5ed15d6f5649a.tar.xz
iphone-notes-be0d09e2cb91ef391d7455334fc5ed15d6f5649a.zip
feat: update existing Apple Notes by title instead of duplicating
Add `icloud-note update` that finds a note by title and replaces its content in place so revision requests do not create a second note. Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index b0e79be..1275b13 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ Also packaged as a Cursor/Goose agent skill (`SKILL.md`).
./scripts/setup.sh # cargo build --release + Chromium + ~/.local/bin
icloud-note login # Apple ID + 2FA once (visible window)
icloud-note create --title "Hello" --body "From Linux"
+icloud-note update --title "Hello" --body "Revised from Linux"
```
## CLI
@@ -21,7 +22,8 @@ icloud-note create --title "Hello" --body "From Linux"
| `icloud-note setup` | Build/install binary + ensure Chromium |
| `icloud-note login` | **Only** command that opens a visible browser |
| `icloud-note status` | Headless session check |
-| `icloud-note create` | Headless create (`--title`, `--body` / `--body-file`) |
+| `icloud-note create` | Headless **new** note (`--title`, `--body` / `--body-file`) |
+| `icloud-note update` | Headless **update** existing note by title (never creates) |
## Layout