todo-cli-madhukar
v1.0.1
Published
A CLI for managing todos
Downloads
5
Readme
Todo CLI Tool
This is a simple command-line interface (CLI) tool for managing todos. You can add, mark, delete, and view todos using this tool. Todos are stored in a todos.json
file.
Installation
- Clone the repository:
git clone https://github.com/madhukar0721/Todo-CLI-Tool.git
cd Todo-CLI-Tool
- Install dependencies:
npm install
- Link the CLI tool
npm link
Usage
Commands
- Shows all commands
todo --help
- Add a todo
todo add <task>
- Mark a todo as done
todo done <task>
- Delete one occurrence of a todo
todo delete <task>
- Delete all occurrences of a todo
todo delete-all <task>
- Delete all Todos
todo delete-all-todos
- Show all todos
todo show
Uninstallation
To remove the todo
CLI tool from your system, follow the steps based on how it was installed:
Uninstall Globally:
If you installed the
todo
CLI tool globally usingnpm link
you can uninstall it with:
npm unlink -g todo-cli
Remove Project Directory:
If you want to remove the local project directory and all its contents, delete the directory:
rm -rf Todo-CLI-Tool
Remove Dependencies:
To remove the
node_modules
directory and optionallypackage-lock.json
, navigate to your project directory and run:
rm -rf node_modules
rm package-lock.json
License
This project is licensed under the GNU GENERAL PUBLIC LICENSE. See the LICENSE file for details.