Task Tracker


Simple command line task management app. Implemented in Goland and uses JSON file as a simple database.

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

Installation

  • Ensure you have Golang installed
  1. Clone repository:
git clone https://github.com/pawwwline/task-tracker
  1. Navigate to project
cd task-tracker
  1. Build the application
go build task-tracker

Usage


Add task

it will return id of added task

./task-tracker add "Buy groceries"

Update task

update task by id number (you can check it using list command)

./task-tracker update 1 "Clean room"

Delete task

delete task by its id number

./task-tracker delete 1

Mark tasks

Mark done

./task-tracker mark-done 1

Mark in-progress

./task-tracker mark-in-progress 1

Mark to-do

./task-tracker mark-todo 1

List tasks

List all tasks

./task-tracker list

List to-do tasks

./task-tracker list todo

List in progress tasks

./task-tracker list in-progress

List done tasks

./task-tracker list done

project challenge task-tracker by roadmap.sh