Skip to content

orderrun-delete

Shortcut: ord

Help option

~ $ dk orderrun-delete --help
Current context is: default


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

  Delete the OrderRun specified by the OrderRun ID argument.

Options:
  -k, --kitchen   Kitchen name
  -y, --yes       Force yes
  --help      Show this message and exit.

Delete an order run using contextual option

~/Kitchens/Dev_Sprint $ dk orderrun-delete 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80


Current context is: default
Are you sure you want to delete the OrderRun:
Kitchen: Dev_Sprint
OrderRun ID: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
[yes/no]yes

YYYY-MM-DD HH:MM:SS - Deleting OrderRun:
3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
DKCloudCommand.delete_orderrun 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80 succeeded

Delete order run using explicit option

~/Kitchens $ dk orderrun-delete --kitchen Dev_Sprint 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80


Current context is: default
Are you sure you want to delete the OrderRun:
Kitchen: Dev_Sprint
OrderRun ID: 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
[yes/no]yes

YYYY-MM-DD HH:MM:SS - Deleting OrderRun:
3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
DKCloudCommand.delete_orderrun 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80 succeeded

Delete order run using contextual option, shortcuts, and force

~/Kitchens/Dev_Sprint $ dk ord 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80 -y


Current context is: default
YYYY-MM-DD HH:MM:SS - Deleting OrderRun
3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80
DKCloudCommand.delete_orderrun 3ae83e0a-f7cc-11e7-9d16-12d21ed7aa80 succeeded