Tooling · 2026

task-cli

Dependency-free Go todo CLI with atomic JSON writes and monotonic IDs

Complete · source available

Overview

A command-line todo list (add, list, done, undone, rm, clear) installable with go install. Trade-offs stated in the README: whole-file rewrite, no file locking, no schema version.

Highlights

  • Atomic writes: temp file in the same directory, fsync, rename; deleted IDs are never reused.
  • NextID persisted and repaired on load, a real bug caught by a test.
  • 16 tests, 83.0% statement coverage, run with -race.