Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Tracker CLI

A simple Command-Line Interface (CLI) application built with Go to track and manage your daily tasks. It stores tasks in a local tasks.json file. This project is a solution to the Task Tracker backend challenge from roadmap.sh.

Features

  • Add a new task
  • Update an existing task
  • Delete a task
  • Mark a task's status (todo, in-progress, done)
  • List all tasks (or filter them by status)

Setup & Installation

Make sure you have Go installed on your machine.

  1. Clone the Repository

    git clone git@github.com:muhamien/task-tracker.git
    cd task-tracker
  2. Build the Project

    go build -o task-tracker main.go
  3. Run the CLI

    ./task-tracker <command> [arguments]

Usage

1. Add a Task

./task-tracker add "Learn Go"

2. Update a Task

./task-tracker update 1 "Learn Go and write tests"

3. Delete a Task

./task-tracker delete 1

4. Mark Task as In Progress

./task-tracker mark-in-progress 1

5. Mark Task as Done

./task-tracker mark-done 1

6. List Tasks

List all tasks:

./task-tracker list

Repository Push Issue

When pushing via SSH (git@github.com), port 22 is sometimes blocked by local firewalls or the environment. If you face connection issues, consider these alternatives:

  1. Use HTTPS:

    git remote set-url origin https://github.com/muhamien/task-tracker.git
    git push -u origin main
  2. Route SSH over port 443: Add the following to ~/.ssh/config:

    Host github.com
      Hostname ssh.github.com
      Port 443
      User git

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages