| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
go-task is a lightweight command‑line task manager written in Go and backed by SQLite. It lets you capture, organize, and track your tasks with priorities, tags, and completion status directly from your terminal.
Clone the repository:
git clone https://github.com/dulanhewage/go-task.git
cd go-taskInstall dependencies:
go mod tidyBuild the project:
go build -o go-taskYou can configure the database file path by creating a config.json file in the project root:
{
"db_file": "my_tasks.db"
}If config.json is missing or db_file is not specified, it defaults to tasks.db.
Run all tests:
go test ./cmd/...Run a specific test file:
go test ./cmd/add_test.goRun tests with verbose output:
go test -v ./cmd/...After building the project, you can use the CLI tool by running the generated binary:
./go-task --helpHere is an example of how to use the Task Manager CLI:
./go-task add --title "Buy groceries" --description "Milk, Bread, Eggs"./go-task add --title "Fix server bug" --description "Crash on startup" --priority High --tags "work,urgent,dev"Note: Priorities can be High (H), Medium (M), or Low (L). Tags are comma-separated.
./go-task listDisplays tasks in a table format, sorted by Priority (High -> Low).
./go-task update --id 1 --title "Buy groceries and fruits" --description "Milk, Bread, Eggs, Apples"./go-task complete --id 1./go-task search --keyword "groceries"./go-task delete --id 1| Back | FazBrowse Home | New Git URL |