Command reference
dd-cli's registered command tree is canonical — run dd-cli --help and dd-cli <command> --help for exact flags, defaults, prompts, and chaining guidance. This page is a summary.
Global options
The --json-output option goes before the command:
dd-cli --json-output search --query "ramen"
dd-cli --json-output order history --max 10
It prints the complete structured MCP result for machine-readable chaining. Without it, commands print a default text response; commands that support --beautify render a concise human summary instead.
Discovery
| Command | Purpose |
|---|---|
search | Find nearby restaurants |
menu | Retrieve a restaurant menu |
store-details | Show store identity, address, image, and business metadata |
item-details | Inspect a retail or grocery item |
restaurant-item-details | Inspect a restaurant item, extras, and modifier choices |
find-items | Search within a retail or grocery store |
find-nearby-stores | Discover nearby non-restaurant stores by merchant type |
build-grocery-list | Resolve a grocery list and candidate stores |
Cart
| Command | Purpose |
|---|---|
cart list | List active carts, optionally by store |
cart add-items | Add items or modifiers to a cart |
cart show | Inspect cart lines |
cart remove-item | Remove one cart line |
cart delete | Abandon and clear a cart |
promo list | List eligible promotions for a store |
promo apply | Apply a promotion to a cart |
promo remove | Remove a promotion from a cart |
Orders
| Command | Purpose |
|---|---|
order history | Read up to 100 orders across up to 365 days |
order reorder | Create a cart from a prior order |
order receipt | Retrieve a completed order receipt |
order status | Read submission and fulfillment status |
order preview | Preview pricing, credits, fulfillment, and work-benefit eligibility |
order submit | Place and charge an order after confirmation |
order checkout-url | Open browser checkout for edits the CLI can't express |
Account
| Command | Purpose |
|---|---|
address list | List saved delivery addresses |
address set | Change the account-wide default address after confirmation |
payment-method list | List saved cards and the default-card pointer |
DoorDash credits apply by default on preview and submit when supported. --no-apply-credits is an explicit opt-out.
order submit places a real order and charges your account's default payment path. Only run it with --yes, or without prompting, once you've explicitly decided to place the order — the same way you'd treat any other irreversible purchase.