todos-manager
v1.1.0
Published
CLI to manage todos
Downloads
1
Maintainers
Readme
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
Command | Result --- | --- add | It will add the task written after 'add' update | It will update the task from pending to completed pending | It will list all pending tasks completed | It will list all completed tasks clean | It will truncate all tasks save | It 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.