DidaCLI
JSON-first CLI for Dida365 / TickTick
中文 ·
Website ·
Commands
DidaCLI builds as a single Go binary with no external Go modules. It keeps Web API cookie auth, Official MCP tokens, and OpenAPI personal-token/OAuth credentials separate. Commands return a consistent JSON envelope.
$ dida task today --compact --json
Install
npm i -g @delicious233/dida-cli # npm
curl -fsSL https://raw.githubusercontent.com/DeliciousBuding/dida-cli/main/install.sh | sh
iwr https://raw.githubusercontent.com/DeliciousBuding/dida-cli/main/install.ps1 -UseB | iex
All install options
npm (recommended)
npm install -g @delicious233/dida-cli
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/DeliciousBuding/dida-cli/main/install.sh | sh
Windows (PowerShell)
iwr https://raw.githubusercontent.com/DeliciousBuding/dida-cli/main/install.ps1 -UseB | iex
Go
go install github.com/DeliciousBuding/dida-cli/cmd/dida@latest
Pin a specific version
DIDA_VERSION=vX.Y.Z curl -fsSL https://raw.githubusercontent.com/DeliciousBuding/dida-cli/main/install.sh | sh
After install:
dida version && dida doctor --json
dida doctor --check-upgrade --json
Agent Plugins
The repository ships a lightweight Codex/Claude Code plugin containing the
DidaCLI workflow skill and the official Dida365 MCP server.
python3 scripts/install-agent-plugin.py codex
python3 scripts/install-agent-plugin.py claude
On Windows, replace python3 with python. The installer uses the native
plugin marketplace commands, bootstraps and updates the CLI when dida is
missing, and verifies both the enabled plugin and official MCP registration.
It installs GitHub main by default; pass --local to test the current
checkout. MCP account authorization remains an explicit host login step. See
plugins/dida-cli/README.md for manual commands
and trust boundaries.
Quick Start
# 1. Login with the Dida365 browser cookie named "t"
dida auth cookie set --token-stdin --json
# Optional browser capture path
dida auth login --browser --json
# 2. Verify
dida doctor --verify --json
# Optional update check
dida doctor --check-upgrade --json
# 3. See today
dida task today --compact --json
# 4. Create a task (preview first)
dida task create --project <id> --title "Ship v1" --dry-run --json
Feature Coverage
DidaCLI exposes 143 local command contracts through dida schema list --compact --json. The main feature groups are: