summaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
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