← 返回
开发者工具 中文

wolt-cli

Use Nikita's local Wolt CLI to browse venues, inspect menus/items/options, and run profile, cart, and checkout-preview actions for wolt.com from terminal. Tr...
使用 Nikita 的本地 Wolt CLI 在终端中浏览 wolt.com 的场馆、查看菜单/商品/选项,并执行个人资料、购物车和结账预览操作。
mekedron
开发者工具 clawhub v1.0.0 1 版本 99903.2 Key: 无需
★ 0
Stars
📥 1,032
下载
💾 14
安装
1
版本
#delivery#food#grocery#latest#wolt

概述

Wolt CLI

Tool repository: https://github.com/mekedron/wolt-cli

Open the repository for setup/build details, then use the local wolt binary:

wolt <group> <command> [flags]

Session Startup

  1. Inspect command tree once per session:
  2. wolt --help
    
  3. Prefer machine output for agent work:
  4. ... --format json
    
  5. Parse .data from the envelope and surface .warnings/.error to the user.

Safety Rules

  • Start read-only by default.
  • Request explicit confirmation before mutating commands:
  • cart add, cart remove, cart clear
  • profile favorites add, profile favorites remove
  • profile addresses add, profile addresses update, profile addresses remove, profile addresses use
  • configure (writes local profile credentials)
  • Never describe checkout preview as order placement. The CLI does not place final orders.

Auth Workflow

Use explicit profile names to avoid ambiguity:

wolt configure --profile-name default --wtoken "<token>" --wrtoken "<refresh-token>" --overwrite
wolt profile status --profile default --format json --verbose

Credential fallback for authenticated commands:

  1. Explicit flags (--wtoken, --wrtoken, --cookie)
  2. Selected profile auth fields
  3. Default profile auth fields

When refresh credentials are available, expired/401 access tokens are refreshed automatically and persisted back to local config.

Location Rules

Apply exactly:

  • Use either --address "" or both --lat + --lon.
  • Do not combine --address with --lat/--lon.
  • If no override is passed, profile location is used.
  • search venues/items and venue show/hours use --address or profile location (no direct --lat/--lon flags).
  • discover, cart, checkout preview, and profile favorites support --lat/--lon.

Command Selection

  • Explore nearby options: discover feed, discover categories, search venues, search items
  • Inspect one venue deeply: venue show, venue categories, venue search, venue menu, venue hours
  • Resolve one item/options for basket actions: item show, item options
  • Basket and pricing: cart count/show/add/remove/clear, then checkout preview
  • Account and history: profile show/status/orders/payments/addresses/favorites

For large marketplace venues, prefer:

  • venue search --query ""
  • venue menu --category

instead of unrestricted full-catalog menu crawl.

Output and Diagnostics

  • --format json|yaml returns envelope keys: meta, data, warnings, optional error.
  • On upstream failures, rerun with --verbose to capture request trace and detailed diagnostics.

References

  • Full command and flag matrix: references/command-reference.md
  • Reusable high-confidence workflows: references/workflows.md
  • Envelope/error parsing and automation notes: references/output-and-errors.md

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 10:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,898
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,754
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,932