From 9deed51aa2df7ca5979963f7452a6439ad2d3767 Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 2 Sep 2021 17:23:42 +0300 Subject: initial --- README.org | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 README.org (limited to 'README.org') 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 -- cgit v1.2.3