A command-line interface (CLI) TodoList application with features like registration, login, adding, updating, deleting, and viewing todos.
-
Clone the repository:
git clone https://github.com/codewithshabbir/cli-todolist.git
-
Navigate to the project directory:
cd cli-todolist
-
Install dependencies:
npm install
-
Run the application:
npm start
-
Install the CLI TodoList globally:
npm install -g cli-todolist-wth-login-and-registeration
After installation, you can run the CLI TodoList using the following command:
cli-todolist
To register, run the application and select the registration option. You'll be prompted to provide your username, fullname, gender, and password.
Once registered, you can log in using your username and password.
After logging in, you'll have several options:
- Select todo: View all your todos.
- Add todo: Add a new todo task.
- Update todo: Update an existing todo task.
- Delete todo: Delete a specific todo task.
- Delete all todo: Delete all your todo tasks.
- Exit: Close the program.
When you select the 'Select todo' option, you'll see all your todo tasks.
To add a new todo task, select the 'Add todo' option and follow the prompts.
To update a todo task, select the 'Update todo' option and follow the prompts.
To delete a specific todo task, select the 'Delete todo' option and follow the prompts. You can also delete all your todo tasks by selecting the 'Delete all todo' option.
You can find the source code on GitHub.
The CLI TodoList is also available as an npm package. Check it out on npm.
Visit my NPM profile for more packages.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.