yashas-cli-todos v1.0.2
yashas-cli-todos
A simple CLI tool that allows that allows you to add tasks, remove tasks and marking them as done.
Installation
You can install the package via npm: Navigate to the root directory of your project and execute the following command,
npm i yashas-todos-listThis will install yashas-todos-list locally to your project dependencies. With local installation, yashas-todos-list will not be available in your system path or you can't use it directly from the command line.
For global installation,
npm i -g yashas-todos-listyashas-todos-list will be installed globally to your system path and will be available anywhere on the system.
Usage
yashas-cli-todos keeps track of your tasks for you. For CLI options and details, use -h(or --help) argument:
todos -hFor listing tasks, use the list command:
todos listFor adding a new task, use the add command:
todos addFor marking item as done, use mark-done command:
todos mark-done 1 2If multiple task indices are provided all those tasks will be marked as done. If nothing is provided all tasks will be marked as done.
For clearing task, use clear command:
todos clear 1If no index is provided entire list will be cleared.