Commit graph

34 commits

Author SHA1 Message Date
81fdafb907 restructure 2023-11-19 00:18:12 +01:00
9e44070fe7 move cli functionality to a separate file 2023-11-18 18:15:34 +01:00
d3428354d2 remove unnecessary duplicate import 2023-11-18 18:14:49 +01:00
39d021da46 move from dict based classes to standard classes 2023-11-18 17:16:26 +01:00
3d49bc044d currency, settings.yaml and default currency 2023-11-17 21:36:26 +01:00
af3454bd0d make ingredients&units.yaml optional 2023-11-17 20:15:59 +01:00
dace7ff637 better cli 2023-11-17 19:44:52 +01:00
363cfdd692 black format 2023-11-17 19:44:05 +01:00
5d9ddf60b7 overhaul warning and error handling 2023-11-16 00:28:27 +01:00
ffa0253193 proper recursive finding of conversions 2023-11-14 13:36:49 +01:00
546ef63289 rename pricedb to prices 2023-11-11 13:49:00 +01:00
a41aa52993 default unit is now piece, not None 2023-11-10 16:43:55 +01:00
d42cb1beee crlf -> lf 2023-11-06 23:55:13 +01:00
15ce2f152f pylint 2023-11-06 23:51:46 +01:00
009a556c32 small cleanup 2023-11-06 23:38:52 +01:00
9264bba243 bugfix: respect unit aliases 2023-11-06 23:33:03 +01:00
347231f013 Simplify 2023-11-06 23:31:05 +01:00
353aee80cb rename parts to subrecipes 2023-11-06 07:41:55 +01:00
6b31462d2c parametrize input/output directory, move out/ 2023-11-06 07:24:36 +01:00
7636923b30 remove now unnecessary type checking 2023-11-06 05:36:57 +01:00
0b97f45a72 error messages for jsonschema validation and return code 2023-11-06 05:30:50 +01:00
2f183c758f validate using jsonschema, not manually 2023-11-06 05:19:36 +01:00
a2cbbb2068 recipes: more complete units.yaml, support parsing of conversions 2023-11-06 03:31:52 +01:00
e950977e05 more readable amounts 2023-11-06 01:04:04 +01:00
59f80f6619 make amounts more readable (1.0 -> 1) 2023-11-05 12:11:53 +01:00
3d3f0b0012 support or in ingredients - ingredient alternatives 2023-11-05 11:51:25 +01:00
87884d9ab3 add output file tracking and remove obsolete files 2023-11-05 11:19:59 +01:00
2bb9aed4a3 use context to hold commonly used instances 2023-11-05 11:05:23 +01:00
2e12ab77a5 simplify a tiny bit 2023-11-05 10:42:09 +01:00
4cc0656e88 ingredient aliases 2023-11-01 23:31:22 +01:00
7cf5b7ef29 allow recipe parts 2023-11-01 23:23:50 +01:00
a4064a941d make invalid ingredients/units into warnings 2023-11-01 23:23:33 +01:00
da38086e98 restructure parsing, add pricedb support 2023-11-01 23:01:13 +01:00
f6d33add17 initial commit 2023-11-01 19:36:58 +01:00