1.0.6 • Published 3 years ago
@since1997/todo-cli v1.0.6
TODOS-CLI
A CLI tool for TODO LIST using Node.js.
Installation
Install the package globally on your machine:
npm i -g @since1997/todo-cli
or
sudo npm i -g @since1997/todo-cli
Usage
1. To view the TODO list:
todos list
2. To add a TODO task:
todos add <task>
For example:
todos add "Make Dinner"
If the task text has spaces either put quotations around it or escape the spaces. If it doesn't, quotations are not necessary.
- Mark tasks as done:
todos mark-done [tasks...] [--all]
Example:
todos mark-done 1 2
where -a, --all
will mark done all TODO item in list
- Delete TODO task
todos remove [indexs...] [--all]
Example:
todos remove 1 2
where -a, --all
will remove all TODO item in list