todo init command
The simplest way of storing our todos is constructing a .json file with given name.
At this point, it is different from original post,
and we consider it is simpler to store tasks as:
(Status, Task name) style in the
We consider the database as a project name where the tasks should reside.
If you want to create task management for your daily routine - that means, we need to init the daily database(or daily project).
This is called initialization, so we have created the
That is it now we have a nice help message, and we can initialize our "database" - JSON file:
Run the init command:
The final tree:
The next command is to implement the
todo remove command - I.E deleting the ".json" file.