add recipe variations
This commit is contained in:
parent
f778b892eb
commit
c2385790cc
2 changed files with 16 additions and 12 deletions
15
pizza.sh
15
pizza.sh
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
PWD="$(dirname "$(readlink -f "$0")")" # find the pizza working directory
|
||||
RECIPE=quick
|
||||
VARIATION=standmixer
|
||||
shopt -s extglob
|
||||
|
||||
function pizzahelp { # this only prints help text
|
||||
|
@ -24,18 +25,8 @@ function pizzahelp { # this only prints help text
|
|||
}
|
||||
|
||||
function pizzarecipe {
|
||||
echo "How to make the quick calculator pizza, stand mixer edition:"
|
||||
echo " 1: warm beer to ~100f, combine with sugar and yeast in mixing bowl"
|
||||
echo " 2: then add flour, salt, oil, monosodium glutamate, and butter extract"
|
||||
echo " 3: mix for 4 minutes, then shape into ball"
|
||||
echo " 4: rise for 15 minutes"
|
||||
echo " 5: mix for 5 minutes, shape into ball again"
|
||||
echo " 6: rise again for 15 minutes"
|
||||
echo " 7: turn onto, then shape to pan"
|
||||
echo " 8: rise for 10 minutes"
|
||||
echo " 9: add sauce, toppings"
|
||||
echo " 10: bake at 550f until done"
|
||||
echo
|
||||
echo "How to make the $RECIPE calculator pizza, $VARIATION edition:"
|
||||
sed -n "/\[$RECIPE:instructions:$VARIATION\]/,/^$/p" "$PWD/pizza.txt" | sed '/\[*.\]/d'
|
||||
}
|
||||
|
||||
while getopts ":hrR:f:" option; do # loop through options, casing them
|
||||
|
|
13
pizza.txt
13
pizza.txt
|
@ -20,6 +20,19 @@ b.ex. 0.00417
|
|||
9: add sauce, toppings
|
||||
10: bake at 550f until done
|
||||
|
||||
[quick:instructions:hand]
|
||||
1: warm beer to ~100f
|
||||
2: transfer to bowl and add yeast, sugar, olive oil, flour, and salt
|
||||
3: stir to combine with a spoon
|
||||
4: switch to a soaking wet hand to finish squeezing and mixing the dough until it forms a cohesive ball
|
||||
5: cover and let rise at room temp for 15min
|
||||
6: perform a strength building fold
|
||||
7: cover and let rise at room temp for another 15min
|
||||
8: turn onto, then shape to pan
|
||||
9: rise for 10 minutes
|
||||
10: add sauce, toppings
|
||||
11: bake at 550f until done
|
||||
|
||||
[long:ratios]
|
||||
flour 1
|
||||
water 0.5
|
||||
|
|
Loading…
Add table
Reference in a new issue