Skip to content

pravo23/todos-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Clone the repository:
git clone git@github.com:pravo23/todos-cli.git
  1. Navigate to the project directory:
cd todos-cli
  1. Install dependencies:
npm i -g

Usage

To use the Todos CLI application, follow these steps:

  1. Open your terminal.

  2. 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> ...

Releases

No releases published

Packages

No packages published