A simple CLI application for managing tasks.
- Add tasks
- List tasks
- Update tasks
- Delete tasks
- Change task status
To install and run the Task Tracker application, follow these steps:
- Go: Ensure you have Go installed on your machine. You can download and install Go from golang.org.
-
Open your terminal or command prompt.
-
Clone the repository using the following command:
git clone [email protected]:feelthatvib3/go-task-tracker.git
-
Navigate into the project directory:
cd go-task-tracker
To build the application, run the following command:
go build -o tt
This will create an executable file named tt
in the project directory.
You can run the application directly from the terminal after building:
./tt
Alternatively, if you're on Windows, you can run:
tt.exe
The Task Tracker CLI allows you to manage your tasks through various commands. Below are the available commands and their descriptions.
To add a new task, use the following command:
./tt add "Task description"
Example:
./tt add "Buy groceries"
To list all tasks or filter by status, use the following command:
./tt list [status]
Examples:
-
List all tasks:
./tt list
-
List tasks with the status "done":
./tt list done
To update the description of an existing task, use the following command:
./tt update <task-id> "<new-description>"
Example:
./tt update 1 "Buy groceries and cook dinner"
To delete a task, use the following command:
./tt delete <task-id>
Example:
./tt delete 1
To change the status of a task, you can use the following commands:
-
Mark a task as "todo":
./tt mark-todo <task-id>
-
Mark a task as "in-progress":
./tt mark-in-progress <task-id>
-
Mark a task as "done":
./tt mark-done <task-id>
Example:
./tt mark-done 1
This project is licensed under the MIT License.