Skip to content

order-stop

Shortcut: os

Help option

~ $ dk order-stop --help


Current context is: default
Usage: dk order-stop [OPTIONS]

  Stop an order - Turn off the serving generation ability of an order.  Stop
  any running jobs.  Keep all state around.

Options:
  -k, --kitchens    Kitchen name
  -o, --order_id TEXT  Order ID  [required]
  -y, --yes           Force yes
  --help               Show this message and exit.

Stop an order using contextual options

~/Kitchens/Dev_Sprint $ dk order-stop --order_id Order ID is: c9dc1bd2-4ef6-11e8-a766-080027aceabc --yes


Current context is: default
Are you sure you want to stop an Order:
    Kitchen: Dev_Sprint
    Recipe: Recipe1
    Variation: Variation1
  Order ID: Order ID is: c9dc1bd2-4ef6-11e8-a766-080027aceabc
  ? [yes/No] yes

YYYY-MM-DD HH:MM:SS - Stop Order ID:
Order ID is: c9dc1bd2-4ef6-11e8-a766-080027aceabc
Stopped Order
Order ID is: c9dc1bd2-4ef6-11e8-a766-080027aceabc

Stop order using explicit options, shortcuts, and force

~ $ dk os -k Dev_Sprint -o Order ID is: c9dc1bd2-4ef6-11e8-a766-080027aceabc -y


Current context is: default
YYYY-MM-DD HH:MM:SS - Stop Order ID:
Order ID is: c9dc1bd2-4ef6-11e8-a766-080027aceabc
Stopped Order
Order ID is: c9dc1bd2-4ef6-11e8-a766-080027aceabc