workflow_archive
Fetch all syncable Goodreads resources into a local SQLite database, with incremental sync and full resync to support offline full-text search.
Instructions
Archive fetches all syncable resources from the API and stores them in a local SQLite database. Supports incremental sync (only new data since last run) and full resync. After archiving, use 'search' for instant full-text search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Database path (default: ~/.local/share/goodreads-cli/data.db) | |
| csv | No | Output as CSV (table and array responses) (default: false) | |
| yes | No | Skip confirmation prompts (for agents and scripts) (default: false) | |
| full | No | Full re-archive (ignore previous sync state) (default: false) | |
| json | No | Output as JSON (default: false) | |
| agent | No | Set all agent-friendly defaults (--json --compact --no-input --no-color --yes) (default: false) | |
| plain | No | Output as plain tab-separated text (default: false) | |
| quiet | No | Bare output, one value per line (default: false) | |
| config | No | Config file path | |
| select | No | Comma-separated fields to include in output (e.g. --select id,name,status) | |
| compact | No | Return only key fields (id, name, status, timestamps) for minimal token usage (default: false) | |
| deliver | No | Route output to a sink: stdout (default), file:<path>, webhook:<url> | |
| dry-run | No | Show request without sending (default: false) | |
| profile | No | Apply values from a saved profile (see 'goodreads profile list') | |
| timeout | No | Request timeout (default: 30s) | |
| no-cache | No | Bypass response cache (default: false) | |
| no-color | No | Disable colored output (default: false) | |
| no-input | No | Disable all interactive prompts (for CI/agents) (default: false) | |
| idempotent | No | Treat already-existing create results as a successful no-op (default: false) | |
| rate-limit | No | Max requests per second (0 to disable) (default: 0) | |
| data-source | No | Data source for read commands: auto (live with local fallback), live (API only), local (synced data only) (default: auto) | |
| human-friendly | No | Enable colored output and rich formatting (default: false) |