Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 1.17 KB

README.md

File metadata and controls

50 lines (43 loc) · 1.17 KB

task-tracker

Task tracker is a simple command line interface (CLI) used to track what you need to do, what you have done, and what you are currently working on.
Solution to the Task Tracker project on roadmap.sh

Features

  • Add, Update, and Delete tasks
  • Mark a task as in progress or done
  • List all tasks
  • List all tasks that are done
  • List all tasks that are not done
  • List all tasks that are in progress

Building from source

Ensure the GO SDK is installed

  1. Clone the repository
    git clone [email protected]:hayohtee/task-tracker.git
  2. Change into the project directory
    cd task-tracker
  3. Compile
    go build -o task-cli ./cmd/task

Usage

# Adding a new task
task-cli add "Buy groceries"
# Output: Task added successfully (ID: 1)

# Updating and deleting tasks
task-cli update 1 "Buy groceries and cook dinner"
task-cli delete 1

# Marking a task as in progress or done
task-cli mark-in-progress 1
task-cli mark-done 1

# Listing all tasks
task-cli list

# Listing tasks by status
task-cli list done
task-cli list todo
task-cli list in-progress