TGO is a simple, efficient command-line task manager implemented in Go. It serves as a practical solution for managing your daily tasks directly from the terminal, using SQLite for persistent storage and providing a clean CLI interface.
-
Create, update, and delete tasks with simple commands. Each task includes a description and completion status, making it easy to track your progress.
-
Mark tasks as complete or incomplete with dedicated commands. Filter your task list to show only pending or completed items.
-
All tasks are stored in a local SQLite database, ensuring your data persists across sessions and system restarts.
-
Built with Go's efficiency in mind, TGO provides instant responses with minimal resource usage.
-
Uses sqlc to generate type-safe Go code from SQL queries, reducing runtime errors and improving code maintainability.
-
Powered by Cobra, providing a familiar command structure with built-in help and subcommand support.
go install github.com/eswar-7116/tgo@latestMake sure your $GOPATH/bin is in your PATH.
git clone https://github.com/eswar-7116/tgo.git
cd tgo
go build -o tgotgo add "Complete project documentation"tgo listtgo list --title 'partial title'tgo update <task-id> --title "Updated task description"tgo rm <task-id>tgo rm --allThere are many options for the add, list, update and rm commands. You can check them by adding a -h or --help flag.
For example:
tgo -htgo list -h- Go - High-performance programming language
- Cobra - Modern CLI framework for building command-line applications
- sqlc - Generates type-safe Go code from SQL queries
- SQLite - Lightweight, embedded relational database
-
TGO is designed for individual use and stores tasks locally. It does not support multi-user environments or task sharing.
-
Tasks are stored locally in a SQLite database. There is no built-in synchronization across devices or backup to cloud storage.
This project is a minimal, practical CLI task manager designed to help you manage tasks efficiently from the terminal. It demonstrates core concepts of CLI application development, database integration, and clean code architecture in Go. While functional for daily use, it serves as a foundation that can be extended with additional features based on your needs.
Submitted as a solution for https://roadmap.sh/projects/task-tracker