Skip to content

prakh0/Task_Tracker_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Tracker CLI (Command Line Interface)

Task Tracker CLI is a feature that allows us to add, update, mark, and also delete task in JSON file with a simple command line application in it. It also let us view a list of task based on their status.

Features

  • Add: Add a new task with a description and a default status of "todo",
  • List: View tasks based on their status (todo, in progress, done, or all).
  • Update: Update the description of an existing task based on their ID.
  • Mark: Change the status of a task into "in progress" or "done" based on their ID.
  • Delete: Remove an existing task based on their ID.

Usage

Add Task

To add a new task, use the add argument:

python app.py  add "Add a New Task"

List Tasks

To list tasks based on their status, use the list argument. You can specify it into "todo", "in progress", "done", or "all":

python app.py list "todo"

Update Task Description

To update the description of a task, use specify the task ID and the update argument to provide the new description:

python app.py update 2 "Updated Task Description"

Mark Task Status

To mark a task as "in progress" or "done" or "todo", use the task ID,by defaul task as set on todo

python app.py in_progress "2"

Delete Task

To delete a task, use the task ID and the delete argument:

python app.py delete "2"

Notes

  • quotation mark " " are just used to describe and isn't requied to be used in code.
  • Ensure that the task_tracker.json file exists in the same directory as the script for it to function correctly.
  • The application will create the task_tracker.json file if it does not already exist when adding a new task.

Project Link

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

About

A lightweight command line task tracker that helps you create, manage, and track tasks directly from your terminal. Designed for simplicity and productivity, it keeps your workflow organized without any distractions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages