This proyect was made as roadmap.sh Proyect challage.
This cli-app will manage your task and save it in a JSON file located in ./Data/task.json
go build -o dist/task-cli.exe main.go
I chose dist, because I like the way Angular manage his builds.
# 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