@wangjs-jacky/tt-cli
v0.1.0
Published
滴答清单(TickTick)命令行工具
Maintainers
Readme
tt-cli
English | 中文
A command-line tool for TickTick (滴答清单), supporting both China region (dida365.com) and Global region (ticktick.com).
Install
npm install -g @wangjs-jacky/tt-cliUsage
First-time Login
tt loginYou'll be prompted for Client ID and Client Secret. Register your app at TickTick Developer Platform first.
Set Redirect URI to: http://localhost:3000/callback
Switch Region
tt config --region cn # China region (dida365.com)
tt config --region global # Global region (ticktick.com)Daily Use
tt whoami # Check login status
tt logout # Log out
tt config # View configurationDevelopment
npm install # Install dependencies
npm run build # Build
npm test # Run tests
npm run dev # Watch modeTech Stack
| Category | Choice |
|----------|--------|
| CLI Framework | cac |
| Terminal UI | @clack/prompts + picocolors |
| Build | tsup (ESM only) |
| Test | vitest |
License
MIT
