03b1250006
Add unique constraint in relational tables.
2024-10-12 11:02:56 +02:00
c71467804e
Fix SQL constraint NOT NULL.
...
I had used sed to change everything at once, so naturally this forwent
my notice.
2024-10-12 10:57:47 +02:00
c31ccdece2
Close database upon errors.
2024-10-12 10:48:35 +02:00
d2f30dcca7
Rename db functions s/db_//
2024-10-12 10:41:35 +02:00
2434a516cd
Remove unused ret variable in cmd_info().
2024-10-12 10:27:59 +02:00
d30f8df5c1
Put database in class and use throw exceptions.
2024-10-11 17:43:28 +02:00
ba7f930231
Rename functions command_* -> cmd_*
2024-10-11 16:18:22 +02:00
e92a578d65
Add "i" alias to info command.
2024-10-11 16:15:00 +02:00
1a590b477e
Add info command.
2024-10-11 12:01:22 +02:00
c0c6959774
Regularize token use.
...
Mainly using the 'not' and 'not_eq' tokens.
2024-10-11 10:54:14 +02:00
08b4834d9e
Remove old comments from porting.
2024-10-11 10:52:11 +02:00
e25fb66dbc
Add removal feature.
2024-10-11 10:43:38 +02:00
5f53180a60
Add list feature.
2024-10-11 09:24:48 +02:00
deb3f2d13f
README: Fix specified C++ standard (c++20).
2024-10-10 07:30:28 +02:00
81eced2636
Finish porting to C++.
2024-10-10 07:27:22 +02:00
b5094d68e9
Port main.cpp to C++.
2024-10-09 20:14:42 +02:00
e86ca506c1
Port arg_parse.{cpp,hpp} to C++.
2024-10-09 20:14:41 +02:00
836daeb69b
Switch to using C++.
2024-10-09 19:50:53 +02:00
ca544e74fa
Add information to README.md
2024-09-24 18:24:42 +02:00
393dbb88d4
Do not suppose compiler. Use cc instead.
2024-09-24 18:24:26 +02:00
9c04960725
Add command to add new recipes/ingredients/tags to the database.
2024-09-24 18:15:37 +02:00
cf1a40c2fe
Move print helper functions to arg_parse.h
...
These functions have more to do with commands, and it will be more
helpful to have the print_help function especially in the same file as
the actual commands structure.
2024-09-19 18:36:43 +02:00
9bc45d634e
Add code to create database.
2024-09-19 18:23:31 +02:00
6ce5417c70
Rename global.h to util.h
...
The functionality has changed since we no longer need a place for global
variables.
2024-09-17 17:55:22 +02:00
5058070fcb
VERSION definition no longer necessary in header.
2024-09-17 17:51:26 +02:00
5d1234a267
Ignore files related to NeoVim CoC plugin usage.
2024-09-17 17:49:56 +02:00
0b9c9010b3
Makefile: Remove headers as dependency for binary target.
2024-09-05 21:15:12 +02:00
8d2b27376f
Initial commit.
2024-09-05 21:01:24 +02:00