summaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2021-09-02 17:23:42 +0300
committergramanas <anastasis.gramm2@gmail.com>2021-09-02 17:23:42 +0300
commit9deed51aa2df7ca5979963f7452a6439ad2d3767 (patch)
tree7ceea0494c01eeff7e7fdaaa8b1bfc7e5adf62c1 /README.org
downloadfoodtools-9deed51aa2df7ca5979963f7452a6439ad2d3767.tar.gz
foodtools-9deed51aa2df7ca5979963f7452a6439ad2d3767.tar.bz2
foodtools-9deed51aa2df7ca5979963f7452a6439ad2d3767.zip
initial
Diffstat (limited to 'README.org')
-rw-r--r--README.org57
1 files changed, 57 insertions, 0 deletions
diff --git a/README.org b/README.org
new file mode 100644
index 0000000..04e2c3d
--- /dev/null
+++ b/README.org
@@ -0,0 +1,57 @@
+#+begin_src conf
+ # fried onion
+
+ # `-` means preping step
+ # `>` means cooking step
+ # in a step you can add a time range in `[]`
+ # each step might produce some new ingredients `=>`
+
+ onion = 2
+ salt = 1tsp
+ sugar = 1/2tsp
+ butter = 3tbsp
+
+ - chop $onion to thin stripes => sliced onion
+ > melt $butter in pan
+ > add ${sliced onion} and $salt
+ > cook while stirring [for 10 minutes]
+ > add $sugar
+ > continue cooking [until onion caramelises]
+#+end_src
+
+#+begin_src fundamental
+ # basic seasoning
+
+ salt = *
+ pepper = *
+#+end_src
+#+begin_src conf
+ # egg omellete with fried onions
+
+ egg = 3
+ !basic_seasoning
+ garlic paste = 1tsp
+ spring onion = 1
+ !fried_onion
+ butter = 1tbsp
+
+ - beat the ${egg}s and add the ${seasoning}
+ > melt $butter in pan
+ > cook ${egg}s [until they start to set]
+#+end_src
+
+* cmd
+
+ cmd [-switches] path/to/file ...
+
+ I should be able to:
+ - list ingredients of recipies (to buy)
+ - pretty print steps for recipe (prep/cook/both)
+ - search for KEY in ingredients and show availiable recipes with KEY as ingredient
+ - should accept multiple keys and a switch for AND or OR between them
+ + or a custom syntax like =cmd -s"eggs & (tomatoes | potatoes)" lib/*.rcp=
+ + or =cmd -[A|O] -stomatoes -stomatoes -seggs lib/*rcp= (And/Or)
+ - *ls*
+ + list recipies with path
+ + or with title
+ + or both