@xiaolinstar/ai-todo-cli
v0.6.1
Published
Structured CLI for ai-todo reminders, calendar, and contacts
Maintainers
Readme
@xiaolinstar/ai-todo-cli
Structured command-line interface for ai-todo — reminders, calendar, contacts, and Agent-friendly --json output.
Install
npm install -g @xiaolinstar/ai-todo-cliThe ai-todo command is available globally after install.
Configure once
Create ~/.ai-todo/settings.json (see settings.example.json in this package):
{
"url": "https://xingxiaolin.cn",
"token": "aitodo_your_personal_access_token"
}Get a Personal Access Token in the WeChat miniapp: Mine → CLI / Agent access tokens → Create, then either edit settings.json or run:
ai-todo login --token aitodo_xxxPAT listing and revocation are miniapp-only (no ai-todo token subcommand as of v0.8.3). Local dev with AI_TODO_ALLOW_DEV_AUTH=true may use ai-todo login --issue-pat.
Environment variables override the file (useful for CI / agents):
export AI_TODO_TOKEN=aitodo_xxx
export AI_TODO_API_URL=https://xingxiaolin.cnUsage
ai-todo today
ai-todo reminder list --json
ai-todo whoami
ai-todo versionRun ai-todo help for the full command list.
