Skip to content

Repository files navigation

Task Tracker CLI

A simple command-line task tracker built with Python for managing your to-do list. This project is part of the roadmap.sh backend projects.

Features

  • Add, update, and delete tasks
  • Track task status (todo, in-progress, done)
  • List all tasks or filter by status
  • Persistent JSON storage
  • Automatic timestamp tracking

Installation

Clone the repository:

git clone <repository-url>cd pytask-tracker

Make the CLI executable:

chmod +x task-cli

Usage

# Add a new task
./task-cli add "Buy groceries"# Update a task
./task-cli update 1 "Buy groceries and cook dinner"# Delete a task
./task-cli delete 1
# Mark task as in-progress
./task-cli mark-in-progress 1
# Mark task as done
./task-cli mark-done 1
# List all tasks
./task-cli list
# List tasks by status
./task-cli list todo
./task-cli list in-progress
./task-cli list done

Project Structure

pytask-tracker/
├── task.py # Task model
├── storage.py # JSON storage handler
├── task_manager.py # Business logic
├── task_cli.py # CLI interface
└── tasks.json # Data storage (auto-generated)

Requirements

  • Python 3.x

License

See LICENSE file for details.

About

A simple CLI-based task tracker built with Python for managing to-do lists with status tracking and JSON persistence

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages