recipe-compile¶
Shortcut: rc
Help option
~ $ dk recipe-compile --help
Current context is: default
Usage: dk recipe-compile [OPTIONS]
Apply variables to a Recipe and get local copies of the compiled
files to a new /compiled-recipe directory. If no local copy of the
Recipe exists one will be created.
Options:
-v, --variation TEXT variation name [required]
-k, --kitchen TEXT kitchen name
-r, --recipe TEXT recipe name
--help Show this message and exit.
Compile recipe using contextual options
~/Kitchens/Dev_Sprint/Recipe1 $ dk recipe-compile --variation Variation1
Current context is: default
YYYY-MM-DD HH:MM:SS - Compiling Recipe:
Kitchen: Dev_Sprint
Recipe: Recipe1
Variation: Variation1
DKCloudCommand.get_compiled_serving succeeded, compiled recipe stored in folder 'compiled-recipe'
Compile recipe using explicit options and shortcuts