Name | Type | Required | Default | Hint |
recipeFile | string | true | The name of the recipe file to execute including extension. Any text file may be used. |
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 # 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 createWhen using args inside a recipe, you will need to wrap the arg in quotes if it may contain a space
rm "$arg1"If an argument is not bound, no error will be thrown, and the name of the argument will be left in the command.
echo on
# Now you see me
echo off
# Now you don't