6 Commits

Author SHA1 Message Date
DIYgod e81efabf79 fix(cli): print what the API answers changes with instead of nothing
subscription remove/update, collection add/remove, entry mark-read/unread,
feed refresh and list update/delete/remove-feed printed response.data,
which those responses never carry, so they printed no data at all. They
now print the fields the API sends, { lastSyncId } or {}.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:24:26 +08:00
DIYgod 987dd6ae4b fix(cli): export the OPML document the API sends
The export endpoint answers with raw XML, not the JSON the SDK types, so
`folo opml export` printed an empty object and `--output` failed with an
undefined data error. The CLI now reads the response as text, prints or
saves it, and names it folo.opml when --output is a directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 23:06:24 +08:00
DIYgod fa7ce0f011 fix(cli): use npx latest and restore login flow 2026-03-17 12:18:24 +08:00
DIYgod 9a8280ded4 feat(cli): switch desktop sync to folocli 2026-03-17 11:18:48 +08:00
DIYgod 49f69f4d19 feat(cli): support browser-based auth login (#4887) 2026-02-27 16:51:58 +08:00
DIYgod a941a2d597 feat: add Folo CLI app with tests (#4883)
* feat(cli): add agent-friendly CLI client with tests

* fix(lockfile): regenerate lockfile after merging dev
2026-02-26 13:34:16 +08:00