zhili-todo-cli
v0.1.1
Published
Command line client for ZhiLi Todo.
Readme
ZhiLi Todo CLI
zl is the command line client for ZhiLi Todo.
Install
npm install -g zhili-todo-cliOr run it without installing:
npx zhili-todo-cli --helpLogin
Create or copy a CLI token from the ZhiLi Todo dashboard, then run:
zl auth login --token zl_live_xxxThe hosted API is built in:
https://zhili-todo.vercel.app/apiFor local development only, override it with:
zl auth login --token zl_live_xxx --api-url http://127.0.0.1:3100/apiCommands
zl auth whoami
zl task create --title "Write launch notes" --priority high
zl task list
zl task update <id> --status in_progress --next-step "Draft examples"
zl task complete <id>
zl task pause <id>
zl task delete <id>
zl followup set --time 22:00 --limit 3
zl followup webhook set --url https://example.com/hook --secret xxx
zl followup testAdd --json to commands when scripting.
Environment Overrides
ZHILI_TOKEN=zl_live_xxx zl task list --json
ZHILI_API_URL=http://127.0.0.1:3100/api zl task list
ZHILI_CONFIG_PATH=/tmp/zhili.json zl auth whoamiBy default, config is stored at:
~/.zhili-todo/config.json