The Task Tracker CLI is a simple command-line tool for managing tasks. It allows you to add, update, list, and mark the status of tasks easily from the terminal. https://roadmap.sh/projects/task-tracker
- Add new tasks with a description.
- List all tasks or filter by status (
todo
,in-progress
,done
). - Update the description of existing tasks.
- Mark tasks with different statuses (
todo
,in-progress
,done
). - Data is saved persistently in a
tasks.json
file.
- Go 1.18 or higher installed on your system.
-
Clone the repository:
git clone https://github.com/yourusername/task-tracker.git cd task-tracker
-
Initialize the Go module and tidy up dependencies:
go mod tidy
-
Build the project:
go build -o task-cli ./cmd/main.go
-
Verify that the
task-cli
binary was created:ls
./task-cli add "Walk the dog"
List all tasks:
./task-cli list
List tasks by status:
./task-cli list todo
./task-cli list done
./task-cli list in-progress
./task-cli update 1 "Walk the dog and feed it"
Mark a task as in-progress:
./task-cli mark 1 in-progress
Mark a task as done:
./task-cli mark 1 done
Developed by Yevhenii Demenko. Feel free to reach out on LinkedIn