Name | Type | Required | Default | Hint |
recipeFile | string | true | The name of the recipe file to execute including extension. Alternatively, text commands to direct execute. |
The recipe commands allows you to execute a collection of CommandBox commands
usually in a file.boxr recipe file. CommandBox will iterate and execute each
of the commands for you in succession. Lines that start with a # followed by whitespace will be ignored as comments.
recipe myRecipe.boxrYou can also bind the recipe with arguments that will be replaced inside of your recipe.
recipe recipeFile=buildSite.boxr name=luis action=createRecipe will receive ${1} and ${2}
recipe buildSite.boxr luis createSystem settings which are not found, are replaced with a space. Remember, you can default then as ${name:default}
echo onIf you have one or more commands to execute which are not contained in a file, but are in a variable or being output
# Now you see me
echo off
# Now you don't
set cmd="package show"
recipe ${cmd}
env show cmd | recipe