1.1.0 • Published 5 years ago

todos-manager v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

todo-manager

todos-manager is a package that can be used for managing tasks using CLI. Easily add, delete, update and list your tasks. It can also save tasks as text file in current directory.

Installing

npm install -g todos-manager

Usage

todos [command]

Run above command in command line. For example: todos pending will print all pending tasks

Commands

CommandResult
addIt will add the task written after 'add'
updateIt will update the task from pending to completed
pendingIt will list all pending tasks
completedIt will list all completed tasks
cleanIt will truncate all tasks
saveIt will save all tasks in text file

Examples

todos add lorem ipsum
- It will add `lorem ipsum` as a pending task.
todos update lorem ipsum
- It will update the status of `lorem ipsum` from pending to completed.
todos
- It will list all tasks with their status.
todos pending
- It will list all pending tasks.
todos completed
- It will list all completed tasks.
todos clean
- It will delete all tasks.
todos clean pending
- It will delete all pending tasks.
todos clean completed
- It will delete all completed tasks.
todos save
- It will save all tasks and the their status in a text file. You can change the name of output file by adding custom filename after this command.
todos save pending
- It will save all pending tasks in a text file. You can change the name of output file by adding custom filename after this command.
todos save completed
- It will save all completed tasks in a text file. You can change the name of output file by adding custom filename after this command.