thweookhine / Task-Tracker-CLI

Task Tracker CLI is a simple command-line application to manage tasks.
0 stars 0 forks source link

Task Tracker CLI

Simple Command Line Interface (CLI) Application to manage tasks. It allows us to add, update, delete, mark and list tasks directly from terminal in JSON file.

Features

Prerequisites

Installation

Clone the Repository

git clone https://github.com/thweookhine/Task-Tracker-CLI.git

# Navigate to the project Directory
cd Task-Tracker-CLI

Usage

# Showing All Commands
node index.js help
#OR
node index.js -h
#OR
node index.js --help
# Adding a new task
node index.js add "Task1"
#OR
node index.js -a "Task1"
#OR
node index.js --add "Task1"
node index.js update 1 "Updated Task1"
#OR
node index.js -u 1 "Updated Task1"
#OR
node index.js --update 1 "Updated Task1"
node index.js list
#OR
node index.js -l
#OR
node index.js --list
# To list the tasks that are marked as to-do
node index.js list todo

# To list the tasks that are marked as in-progess
node index.js list in-progress

# To list the tasks that are marked as done
node index.js list done
# Mark as `todo` with containing task ID as 1
node index.js mark-todo 1

# Mark as `in-progress` with containing task ID as 1
node index.js mark-in-progress 1

# Mark as `done` with containing task ID as 1
node index.js mark-done 1
# Delete the task by containing its ID 1
node index.js delete 1

For More information about this project, visit the Task Tracker Project Roadmap.# github-task-tracker-cl