Skip to content

nilesh-padiyar/todo-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple, lightweight CLI To-Do app built with Node.js Manage your tasks directly from the terminal with easy commands.


Installation

npm install -g @nilesh-padiyar/todo-cli


Prerequisites

Before installing todo-cli, make sure you have:

  • Node.js (version 14 or higher recommended)
  • npm (comes with Node.js)

Check versions in terminal - node -v # to check Node.js version npm -v # to check npm version


Usage

1. Add a task: todo add "<task>"


2. Mark a task as done: todo done <task_id>


3. List tasks - (i) Pending tasks (default): todo list


(ii) Completed tasks: todo list --done


(iii) All tasks: todo list --all


4. Delete tasks - (i) Delete a single task by ID: todo delete <task_id>


(ii) Delete all tasks with confirmation: todo delete --all


(iii) Delete all tasks without confirmation: todo delete --all -y


5. Clear completed tasks - (i) Clear completed tasks with confirmation: todo clear


(ii) Clear completed without confirmation: todo clear --all -y


6. Search Tasks (v1.2.0) todo search "<keyword>"

7. Help: todo help


Features

Simple CLI interface

Add, list, mark done, delete tasks

Optional -y flag for delete --all and clear to skip confirmation.

Stores tasks in tasks.json locally.

Designed for robust command usage (no flexible ordering)


Privacy

todo-cli is a fully local CLI app. All tasks are stored on your device in tasks.json.

No data is sent to any server or third-party service.


Uninstall

npm uninstall -g @nilesh-padiyar/todo-cli


Contributing

This project is for personal growth, but contributions are welcome.

Feel free to fork, submit issues, or PRs.


License

MIT — free to use, modify, and distribute.


Author

Nilesh Padiyar


About

A simple, lightweight, CLI based To-Do app built with Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages