This is a task manager CLI tool built using NodeJS and CommanderJS.
To set up this tool directly from this repository, you need to follow these steps:
- After cloning it, run
npm install
command to install all dependencies - Next, create a
.env
file in the root directory of the project and add a variable calledMONGO_URI=
in the file and assign your MongoDB connection string to it - The last step is to install it globally in your system using the following command:
npm i -g .
You can create CRUD (Create, Read, Update and Delete) Operations using this cli tool. Here are a list of commands supported by the tool:
todo add
- To create one or multiple new task,todo read
- To read all the existing tasks,todo update
- To update a specific task, andtodo delete
- To delete a specific task.
Note:
- To check for the version number, run this command:
todo -V
ortodo --version
. - For help, run this command:
todo -h
ortodo --help
.
todo.add.mp4
todo.read.mp4
todo.update.-.Made.with.Clipchamp.mp4
todo.delete.-.Made.with.Clipchamp.mp4
Note: Both update and delete operations require you to enter the Todo code of the task you want to update or delete.