From c349021ada3673573d1267ef1e709ee7d045fe71 Mon Sep 17 00:00:00 2001 From: zlei9 Date: Sun, 29 Mar 2026 14:25:58 +0800 Subject: [PATCH] Initial commit with translated description --- SKILL.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ _meta.json | 6 ++++++ 2 files changed, 53 insertions(+) create mode 100644 SKILL.md create mode 100644 _meta.json diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..7ddff4c --- /dev/null +++ b/SKILL.md @@ -0,0 +1,47 @@ +--- +name: ordercli +description: "仅Foodora CLI用于检查过去订单和活跃订单状态。" +homepage: https://ordercli.sh +metadata: {"clawdbot":{"emoji":"🛵","requires":{"bins":["ordercli"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/ordercli","bins":["ordercli"],"label":"Install ordercli (brew)"},{"id":"go","kind":"go","module":"github.com/steipete/ordercli/cmd/ordercli@latest","bins":["ordercli"],"label":"Install ordercli (go)"}]}} +--- + +# ordercli + +Use `ordercli` to check past orders and track active order status (Foodora only right now). + +Quick start (Foodora) +- `ordercli foodora countries` +- `ordercli foodora config set --country AT` +- `ordercli foodora login --email you@example.com --password-stdin` +- `ordercli foodora orders` +- `ordercli foodora history --limit 20` +- `ordercli foodora history show ` + +Orders +- Active list (arrival/status): `ordercli foodora orders` +- Watch: `ordercli foodora orders --watch` +- Active order detail: `ordercli foodora order ` +- History detail JSON: `ordercli foodora history show --json` + +Reorder (adds to cart) +- Preview: `ordercli foodora reorder ` +- Confirm: `ordercli foodora reorder --confirm` +- Address: `ordercli foodora reorder --confirm --address-id ` + +Cloudflare / bot protection +- Browser login: `ordercli foodora login --email you@example.com --password-stdin --browser` +- Reuse profile: `--browser-profile "$HOME/Library/Application Support/ordercli/browser-profile"` +- Import Chrome cookies: `ordercli foodora cookies chrome --profile "Default"` + +Session import (no password) +- `ordercli foodora session chrome --url https://www.foodora.at/ --profile "Default"` +- `ordercli foodora session refresh --client-id android` + +Deliveroo (WIP, not working yet) +- Requires `DELIVEROO_BEARER_TOKEN` (optional `DELIVEROO_COOKIE`). +- `ordercli deliveroo config set --market uk` +- `ordercli deliveroo history` + +Notes +- Use `--config /tmp/ordercli.json` for testing. +- Confirm before any reorder or cart-changing action. diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..8629e4a --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26", + "slug": "ordercli", + "version": "1.0.0", + "publishedAt": 1767545372216 +} \ No newline at end of file