recipe-create¶
Shortcut: re
Help option
~ $ dk recipe-create --help
Current context is: default
Usage: dk recipe-create [OPTIONS] NAME
Create a new Recipe.
Available templates: qs1, qs2, qs3
Options:
-k, --kitchen TEXT Kitchen name
-tm, --template TEXT Recipe template
--help Show this message and exit.
Create and get recipe using contextual options
~/Kitchens/Dev_Sprint $ dk recipe-create Recipe2
Current context is: default
YYYY-MM-DD HH:MM:SS - Creating Recipe 'Recipe2' for Kitchen 'Dev_Sprint'
list_recipe - elapsed: 0
DKCloudCommand.recipe_create created recipe Recipe2
DKCloudCommand.get_recipe has 7 sections
Recipe1/node1
Recipe1
Recipe1/resources
Recipe1/resources/email-templates
Recipe1/action-node
Recipe1/do-nothing-node
Recipe1/action-node/actions
Create recipe template using explicit option and shortcuts