Package: cli-todo-manager
ToDo List ManagerA simple command-line utility for managing a ToDo list, using SQLite for storage.This tool offers a dynamic and collaborative approach to task management. Designed to operate in a team-based environment, it allows for the integration of a hidden file, named todos.db, into a shared repository. This integration is a key feature that enables multiple users to access and update their to-do lists. By adding todos.db to the repository, team members can seamlessly share and synchronize their tasks with each other. This shared access ensures that everyone in the team is on the same page, as they can view, add, modify, and remove tasks using this same command-line tool. This functionality is particularly beneficial in collaborative projects where consistent communication and coordination of tasks are crucial. Furthermore, the use of a command-line interface for this tool makes it versatile and suitable for various environments, including software development, project management, and any other team-oriented workspace where task tracking is essential.FeaturesInitialize a new ToDo list databaseAdd ToDo items with detailsShow ToDo itemsUpdate Status of ToDo ItemRemove ToDo items and add them to historyShow history of completed ToDo itemsFieldstodo: The name of the ToDo item.weekday: The day of the week for the ToDo item.description: A description of the ToDo item.importance: The importance level of the ToDo item.comments: A comment left after completing a ToDo.status: The state the current ToDo is in. It is eitherPending ...,In ProgressorFinished.action: An action that has been taken.UsageInitialize the database: Run the script withtodo initto a create the database for the current Directory. Therefore each Directory can have their own ToDo-Manager.todo initAdd a ToDo item: Usetodo add <todo_name> <weekday>to add a new item.todo add some_todo sundayThe next prompts give you the opportunity to further describe your todoDescription: some descriptionImportance: highShow ToDo items: Usetodo showto display all items ortodo show [criteria]for specific items. You can search for thename,id,dayandimportance.todo showortodo show some_todo_nameortodo show 1ortodo show sundayortodo show highOutput looks something like this:+------+---------------------------------+-----------+--------------+------------------------------------------+-------------+
 |   ID | ToDo                            | Weekday   | Importance   | Description                              | Status      |
 +======+=================================+===========+==============+==========================================+=============+
 |    1 | collaborations                  | sunday    | high         | Implementing collaboration functionality | Pending ... |
 +------+---------------------------------+-----------+--------------+------------------------------------------+-------------+
 |    2 | uploading first version to pypi | friday    | high         | Uploading current version to pypi        | Pending ... |
 +------+---------------------------------+-----------+--------------+------------------------------------------+-------------+Remove a ToDo item: Usetodo remove <id_or_name>to remove an item and add it to the history.todo remove 1ortodo remove some_todo_nameUpdating Status of ToDo: Usetodo update <id_or_name>to update the status of a ToDo frompendingtoin progress.todo update 1ortodo update some_todoShow History of completed ToDos: Usetodo historyto display all items ortodo history [criteria]for specific items. You can search for theid,nameandimportance.todo historyortodo history some_todoortodo history 1ortodo history highOutput looks something like this:+------+----------------+------------------+--------------+------------------------------------------+-----------------------------------------------------+----------+
 |   ID | ToDo           | Finished         | Importance   | Description                              | Comment                                             | Status   |
 +======+================+==================+==============+==========================================+=====================================================+==========+
 |    1 | collaborations | 29 December 2023 | high         | Implementing collaboration functionality | I should implement this feature in the next version | Finished |
 +------+----------------+------------------+--------------+------------------------------------------+-----------------------------------------------------+----------+Show Logs, which includes all actions: Usetodo logsto display all actions, that has been taken so far.todo logsOutput looks something like this:+------+---------------------------------+------------------+-----------------+-------------+
 |   ID | ToDo                            | Time             | Action          | Status      |
 +======+=================================+==================+=================+=============+
 |    1 | collaborations                  | 28 December 2023 | Adding ToDo     | Pending ... |
 +------+---------------------------------+------------------+-----------------+-------------+
 |    2 | uploading first version to pypi | 29 December 2023 | Adding ToDo     | Pending ... |
 +------+---------------------------------+------------------+-----------------+-------------+
 |    3 | uploading first version to pypi | 29 December 2023 | Updating Status | In Progress |
 +------+---------------------------------+------------------+-----------------+-------------+
 |    4 | collaborations                  | 29 December 2023 | Removing ToDo   | Finished    |
 +------+---------------------------------+------------------+-----------------+-------------+LimitationsThe script expects command-line arguments for certain operations.Database initialization must be performed before any other operations.Error handling is primarily done throughsys.exitwith error messages.