Skip to content

orderrun-stop

Shortcut: ors

Help option

~ $ dk orderrun-stop  --help


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

  Stop an OrderRun in progress.  Keeps all state around.

Options:
  -k, --kitchen         Kitchen name
  -ori, --order_run_id TEXT  OrderRun ID  [required]
  -y, --yes           Force yes
  --help                     Show this message and exit.

Stop an order using contextual option

~/Kitchens/Feature_Sprint $ dk orderrun-stop --order_run_id 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80


Current context is: default
Are you sure you want to stop an OrderRun:
  Kitchen:       Feature_Sprint
    Recipe:          Recipe1
    Variation:   Variation1
  OrderRun ID: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
  ? [yes/No]yes

YYYY-MM-DD HH:MM:SS - Stopping Order ID:
  Kitchen:       Feature_Sprint
    Recipe:          Recipe1
    Variation:   Variation1
  OrderRun ID: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80

Stopped OrderRun
3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80

Stop order using explicit option

~/Kitchens $ dk orderrun-stop --kitchen Feature_Sprint --order_run_id 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80


Current context is: default
Are you sure you want to stop an OrderRun:
  Kitchen:       Feature_Sprint
    Recipe:          Recipe1
    Variation:   Variation1
  OrderRun ID: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
  ? [yes/No]yes

YYYY-MM-DD HH:MM:SS - Stopping Order ID:
  Kitchen:       Feature_Sprint
    Recipe:          Recipe1
    Variation:   Variation1
  OrderRun ID: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80

Stopped OrderRun
3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80

Stop order using contextual option, shortcuts, and force

~/Kitchens/Feature_Sprint $ dk ors -ori 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80 -y


Current context is: default
YYYY-MM-DD HH:MM:SS - Stopping Order ID:
  Kitchen:       Feature_Sprint
    Recipe:          Recipe1
    Variation:   Variation1
  OrderRun ID: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80

Stopped OrderRun
 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80