Stable JSON for automation
Use --json for a consistent envelope with
ok, command, meta,
data, and error.
JSON-first CLI for Dida365 and TickTick task automation. Install it with npm, verify auth locally, and give scripts or agents a stable command surface for tasks, projects, schemas, and upgrades.
$ npm install -g @delicious233/dida-cli $ dida auth cookie set --token-stdin --json $ dida doctor --verify --json { "ok": true, "command": "doctor" } $ dida schema list --compact --json $ dida task latest --limit 10 --project inbox --compact --json $ dida completion bash
The npm package downloads the matching GitHub Release binary during postinstall. Keep cookies out of shell history by importing them through stdin.
npm install -g @delicious233/dida-cli
dida auth cookie set --token-stdin --json
dida doctor --verify --json
dida schema list --compact --json and dida task latest --limit 10 --project inbox --compact --json
DidaCLI keeps auth channels separate: Web API cookie auth, Official MCP token auth, and Official OpenAPI OAuth. Each command advertises its auth requirement in the schema index.
Use --json for a consistent envelope with
ok, command, meta,
data, and error.
dida task latest --limit 10 --project inbox --compact --json
returns recent active tasks without large raw fields.
dida schema list --compact --json and
dida schema show task.create --json explain dry-run
support and destructive confirmation.
Generate scripts with dida completion bash,
zsh, fish, or powershell.
dida doctor --check-upgrade --json reports the
latest GitHub Release without installing an update.
Token redaction, stdin secret import, dry-run writes, and
explicit --yes confirmations are built into the CLI
workflow.