This is a simple command-line todo application written in Node.js. It allows users to manage their todo tasks easily from the terminal.
You can install the Todos CLI application from the NPM package todos-cli-app
:
npm install -g todos-cli-app
- Clone the repository:
git clone [email protected]:pravo23/todos-cli.git
- Navigate to the project directory:
cd todos-cli
- Install dependencies:
npm i -g
To use the Todos CLI application, follow these steps:
-
Open your terminal.
-
Run the
todos
command followed by one of the available commands:
-
todos list
: List all the TODO tasks. -
todos add <task>
: Add a new todo task. -
todos mark-done
: Mark task(s) as done or undone. -
todos rm -t <task1> <task2> ...
: Remove task(s) from the list
List all the TODO tasks:
todos list
Add a new todo task:
todos add "Task description"
Mark task(s) as done:
todos mark-done -t <task1> <task2> ...
Mark task(s) as undone:
todos mark-done -ut <task1> <task2> ...
If no tasks are specified, all tasks will be marked as done/undone.
Remove task(s):
todos rm -t <task1> <task2> ...