todos-cli-app
v2.0.1
Published
This is a simple command-line todo application written in Node.js. It allows users to manage their todo tasks easily from the terminal.
Downloads
11
Readme
Todos CLI Application
This is a simple command-line todo application written in Node.js. It allows users to manage their todo tasks easily from the terminal.
Installation
From NPM Package
You can install the Todos CLI application from the NPM package todos-cli-app
:
npm install -g todos-cli-app
From Source
- Clone the repository:
git clone [email protected]:pravo23/todos-cli.git
- Navigate to the project directory:
cd todos-cli
- Install dependencies:
npm i -g
Usage
To use the Todos CLI application, follow these steps:
Open your terminal.
Run the
todos
command followed by one of the available commands:
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
Examples:
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> ...