Merge c5d056886d72025c7a7a753744acf959133f6bc5 into 8a05c05596ca9ba0735dafd8e359885de4c2c969
This commit is contained in:
commit
a0046b16a4
@ -1,7 +1,7 @@
|
||||
---
|
||||
name: apple-notes
|
||||
description: Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.
|
||||
homepage: https://github.com/antoniorodr/memo
|
||||
homepage: https://github.com/jacob-bayer/memo
|
||||
metadata:
|
||||
{
|
||||
"openclaw":
|
||||
@ -14,10 +14,18 @@ metadata:
|
||||
{
|
||||
"id": "brew",
|
||||
"kind": "brew",
|
||||
"formula": "antoniorodr/memo/memo",
|
||||
"tap": "jacob-bayer/tap",
|
||||
"formula": "memo",
|
||||
"bins": ["memo"],
|
||||
"label": "Install memo via Homebrew",
|
||||
},
|
||||
{
|
||||
"id": "pipx",
|
||||
"kind": "pipx",
|
||||
"package": "git+https://github.com/jacob-bayer/memo",
|
||||
"bins": ["memo"],
|
||||
"label": "Install memo via pipx",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
@ -29,7 +37,8 @@ Use `memo notes` to manage Apple Notes directly from the terminal. Create, view,
|
||||
|
||||
Setup
|
||||
|
||||
- Install (Homebrew): `brew tap antoniorodr/memo && brew install antoniorodr/memo/memo`
|
||||
- Install (Homebrew): `brew tap jacob-bayer/tap && brew install jacob-bayer/tap/memo`
|
||||
- Install (pipx): `pipx install git+https://github.com/jacob-bayer/memo`
|
||||
- Manual (pip): `pip install .` (after cloning the repo)
|
||||
- macOS-only; if prompted, grant Automation access to Notes.app.
|
||||
|
||||
@ -65,10 +74,25 @@ Export Notes
|
||||
- Export to HTML/Markdown: `memo notes -ex`
|
||||
- Exports selected note; uses Mistune for markdown processing.
|
||||
|
||||
Non-Interactive API (for agents and scripts)
|
||||
|
||||
Use `memo notes api <subcommand>` for scripting and agent workflows. All commands are non-interactive and machine-readable.
|
||||
|
||||
- List notes: `memo notes api list [--folder FOLDER] [--format tsv|json|lines]`
|
||||
- Show note body (Markdown): `memo notes api show <note-id>`
|
||||
- Edit note from stdin: `echo "# Updated content" | memo notes api edit <note-id>`
|
||||
- Add note from stdin: `echo "# New note" | memo notes api add --folder "Folder Name"`
|
||||
- Delete note: `memo notes api delete <note-id>`
|
||||
- Move note: `memo notes api move <note-id> <target-folder>`
|
||||
- List folders: `memo notes api folders [--format tsv|json]`
|
||||
- Search notes: `memo notes api search <query> [--folder FOLDER] [--format tsv|json] [--body]`
|
||||
- Remove folder: `memo notes api remove <folder-name> --force`
|
||||
- Export notes: `memo notes api export --path /path/to/dir [--markdown]`
|
||||
|
||||
Limitations
|
||||
|
||||
- Cannot edit notes containing images or attachments.
|
||||
- Interactive prompts may require terminal access.
|
||||
- Cannot edit notes containing images or attachments via the API.
|
||||
- Interactive prompts require terminal access (use `api` subcommands for automation).
|
||||
|
||||
Notes
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user