Active

CLI Task Manager

A fast, minimalist command-line task manager built with Go.

Go SQLite Cobra

Overview

A command-line task manager designed for developers who prefer staying in the terminal. Built with Go for speed and simplicity.

Features

  • Fast: Starts in milliseconds, even with thousands of tasks
  • Simple: Intuitive commands that follow Unix conventions
  • Portable: Single binary, works offline, stores data locally
  • Scriptable: JSON output for integration with other tools

Installation

go install github.com/vikasmishra/task-cli@latest

Usage

# Add a task
task add "Review pull requests"

# List tasks
task list

# Complete a task
task done 1

# View tasks due today
task list --due today

Technical Details

The project uses:

  • Cobra for CLI argument parsing
  • SQLite for local storage
  • Charm libraries for terminal UI components

Lessons Learned

Building this project taught me a lot about:

  1. Designing intuitive CLI interfaces
  2. Managing local state efficiently
  3. Writing comprehensive tests for CLI tools