Standard Garden CLI
the standard CLI tool allows you to interact with your Standard Garden from your terminal.
Installation
# From within the repository
cd apps/cli
npm link
Setup
Before using the CLI, you must log in with your API Key.
standard login
Prompts for your API Key (found in ::api command).
Commands
standard whoami
Displays the currently authenticated user details.
standard note
Manage your notes.
note send
Create a new note.
standard note send "This is a new note"
note read
Read the most recent note.
standard note read
note search
Search your notes.
standard note search "query string"
note random
Get a random note from your database.
standard note random
note edit
Edit an existing note by ID.
standard note edit <note-id> "New content"
note delete
Delete a note by ID.
standard note delete <note-id>
See Also
- Frontmatter Schema Reference – Complete guide to note metadata and options
- API Documentation – REST API reference