Saltar al contenido principal

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​

CommandPurpose
searchFind nearby restaurants
menuRetrieve a restaurant menu
store-detailsShow store identity, address, image, and business metadata
item-detailsInspect a retail or grocery item
restaurant-item-detailsInspect a restaurant item, extras, and modifier choices
find-itemsSearch within a retail or grocery store
find-nearby-storesDiscover nearby non-restaurant stores by merchant type
build-grocery-listResolve a grocery list and candidate stores

Cart​

CommandPurpose
cart listList active carts, optionally by store
cart add-itemsAdd items or modifiers to a cart
cart showInspect cart lines
cart remove-itemRemove one cart line
cart deleteAbandon and clear a cart
promo listList eligible promotions for a store
promo applyApply a promotion to a cart
promo removeRemove a promotion from a cart

Orders​

CommandPurpose
order historyRead up to 100 orders across up to 365 days
order reorderCreate a cart from a prior order
order receiptRetrieve a completed order receipt
order statusRead submission and fulfillment status
order previewPreview pricing, credits, fulfillment, and work-benefit eligibility
order submitPlace and charge an order after confirmation
order checkout-urlOpen browser checkout for edits the CLI can't express

Account​

CommandPurpose
address listList saved delivery addresses
address setChange the account-wide default address after confirmation
payment-method listList 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.

Placing real orders

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.