| name | saveit |
| description | Manage SaveIt via CLI - bookmarks. Use when user mentions 'saveit', 'bookmark', 'save link', 'saveit.now', or wants to interact with the SaveIt API. |
| category | bookmarks |
saveit-cli
Setup
If saveit-cli is not found, install and build it:
bun --version || curl -fsSL https://bun.sh/install | bash
npx api2cli bundle saveit
npx api2cli link saveit
api2cli link adds ~/.local/bin to PATH automatically. The CLI is available in the next command.
Always use --json flag when calling commands programmatically.
Authentication
saveit-cli auth set "your-token"
saveit-cli auth test
Resources
bookmarks
| Command | Description |
|---|
saveit-cli bookmarks list --json | List all bookmarks |
saveit-cli bookmarks list --query "web development" --json | Search bookmarks by query |
saveit-cli bookmarks list --tags design,ux --limit 5 --json | Filter by tags with limit |
saveit-cli bookmarks list --types ARTICLE,VIDEO --json | Filter by content types |
saveit-cli bookmarks list --special UNREAD --limit 10 --json | Filter by special status |
saveit-cli bookmarks list --cursor <cursor> --json | Get next page of results |
saveit-cli bookmarks list --fields title,url,tags --json | Select specific columns |
saveit-cli bookmarks create --url "https://example.com" --json | Create a bookmark |
saveit-cli bookmarks create --url "https://example.com" --title "Example" --tags dev,web --json | Create bookmark with metadata |
saveit-cli bookmarks create --url "https://example.com" --type ARTICLE --json | Create bookmark with type |
saveit-cli bookmarks delete <id> --json | Delete a bookmark |
Global Flags
All commands support: --json, --format <text|json|csv|yaml>, --verbose, --no-color, --no-header