Skip to content

NatnaelTekli/Task-Tracker-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Task Tracker CLI (Python)

This is a simple command-line task tracker tool written in Python. It allows you to manage tasks such as adding, updating, deleting, and tracking their status (todo, in-progress, done). All tasks are stored in a file called tasks.json in your project directory.


Features

  • Add new tasks
  • List all tasks
  • Filter tasks by status (todo, in-progress, done)
  • Mark tasks as done or in-progress
  • Update task descriptions
  • Delete tasks

How to Use

Run the script from your terminal using:

python task_cli.py <command> [arguments]

Make sure Python 3 is installed and you're in the project folder.


Available Commands

  1. Add a new task: Use: python task_cli.py add "task description"

  2. Update a task's description: Use: python task_cli.py update <task_id> "new description"

  3. Delete a task: Use: python task_cli.py delete <task_id>

  4. Mark a task as in-progress: Use: python task_cli.py mark-in-progress <task_id>

  5. Mark a task as done: Use: python task_cli.py mark-done <task_id>

  6. List all tasks: Use: python task_cli.py list

  7. List tasks filtered by status: Use: python task_cli.py list todo python task_cli.py list done python task_cli.py list in-progress

image image

Task Format in tasks.json

Each task is stored as a dictionary with these properties:

id         : Unique task ID (number)
description: Description of the task
status     : "todo", "in-progress", or "done"
createdAt  : Date and time the task was created
updatedAt  : Date and time the task was last modified

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages