kitchen-get¶
Shortcut: kg
Help option
~ $ dk kitchen-get --help
Current context is: default
Usage: dk kitchen-get [OPTIONS] KITCHEN_NAME
Get an existing Kitchen locally. You may also get one or multiple Recipes
from the Kitchen.
Options:
-r, --recipe TEXT Get the recipe along with the kitchen. Multiple allowed
-a, --all Get all recipes along with the kitchen.
--help Show this message and exit.
Get kitchen alone
~/Kitchens $ dk kitchen-get Dev_Sprint
Current context is: default
YYYY-MM-DD HH:MM:SS - Getting kitchen 'Dev_Sprint'
Got Kitchen 'Dev_Sprint'
Get kitchen with recipes
~/Kitchens $ dk kitchen-get --kitchen Dev_Sprint --recipe Recipe1 --recipe Recipe2
Current context is: default
YYYY-MM-DD HH:MM:SS - Getting kitchen 'Dev_Sprint'
list_recipe - elapsed: 0
Got Kitchen 'Dev_Sprint'
DKCloudCommand.get_recipe has 4 sections
Recipe1/node1
Recipe1/resources
Recipe1
Recipe1/node2
DKCloudCommand.get_recipe has 6 sections
Recipe2/node1
Recipe2/resources
Recipe2
Recipe2/node2
Recipe2/action-node
Recipe2/action-node/actions
Get kitchen with all recipes using shortcuts
~/Kitchens $ dk kg Dev_Sprint -a
Current context is: default
YYYY-MM-DD HH:MM:SS - Getting kitchen 'Dev_Sprint'
list_recipe - elapsed: 0
Got Kitchen 'Dev_Sprint'
DKCloudCommand.get_recipe has 4 sections
Recipe1/node1
Recipe1/resources
Recipe1
Recipe1/node2
DKCloudCommand.get_recipe has 6 sections
Recipe2/node1
Recipe2/resources
Recipe2
Recipe2/node2
Recipe2/action-node
Recipe2/action-node/actions
DKCloudCommand.get_recipe has 9 sections
Recipe3/node1
Recipe3/resources
Recipe3
Recipe3/node2
Recipe3/action-node
Recipe3/action-node/actions
Recipe3/data-source-container-node
Recipe3/data-source-action-node/actions
Recipe3/data-source-action-node/actions/docker-share