Loading...
Loading...
CLI for browsing menus and placing orders at The Poke Co (South Africa). Use when users want to buy or order something from poke co.
npx skill4agent add spookyuser/poke poke-orderingnode scripts/poke-cli.js <command>| Command | Flags | Output |
|---|---|---|
| — | All locations with open/closed status |
| | |
| | |
| | Matching items with prices, types, deal groups |
| | Full menu dump (large — prefer |
| | Order confirmation with payment URL |
| see below | Build Your Own bowl builder |
| | All BYO ingredient options for a location |
node scripts/poke-cli.js locationsnode scripts/poke-cli.js hours --location "Kloof"is_open: truenode scripts/poke-cli.js search --location "Kloof" --query "salmon"node scripts/poke-cli.js order --from -node scripts/poke-cli.js locationsnode scripts/poke-cli.js hours --location "Kloof"node scripts/poke-cli.js byo-options --location "Kloof"node scripts/poke-cli.js byo --location Kloof --size regular --base ... --protein ... --topping ... --sauce ... --crunch ...byo-options{
"location": "Kloof St",
"mobile": "+27XXXXXXXXX",
"order_type": "collection",
"time": "asap",
"items": [
{ "name": "Miso Soup", "quantity": 1 },
{
"name": "Build Your Own",
"quantity": 1,
"instructions": "Extra sauce",
"choices": {
"Choose Your Base": ["White Sushi Rice"],
"Choose Your Protein": ["Salmon"]
}
}
]
}byo--location <name>--size <regular|maxi>--base <name>--protein <name>--topping <name>--sauce <name>--crunch <name>--extra <name>--extra-protein <name>--extra-sauce <name>--remove <name>--side <name>--drink <name>--jsonordernode scripts/poke-cli.js byo --location Kloof --size regular \
--base "sticky rice" --protein salmon \
--topping mango --topping cucumber --topping edamame --topping radish \
--sauce "house shoyu" --sauce "creamy togarashi" \
--crunch "cashew nuts"byo-options --location <name>searchdeal_groupschoicesdescriptionrequiredminmaxPOKE_TOKEN=<token>{ "error": "..." }| Error | Fix |
|---|---|
| No location matching "X" | Check |
| Not currently accepting orders | |
| No menu item matching "X" | Broaden search query or check |
| Deal requires "choices" | Use |
searchmenu+27XXXXXXXXXsearch --location Kloof --query rice --category sides