task-manager

command module
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

task-manager

CI Go Reference Latest release

A lean, file-based task tracker — issues, dependencies, and ready-work, and nothing else. No database, no server: every task is a Markdown file with YAML frontmatter under a .tasks/ directory, versioned alongside your code. You work with it through taskmgr, the command-line tool, or embed the storage engine directly via the sdk/tasks Go module.

  • Plain files — every issue is one Markdown file you can read, grep, and diff.
  • Dependencies & ready-work — model blocked_by / parent / related edges and ask "what can I work on now?" with taskmgr ready.
  • Single writer — taskmgr (and the SDK) is the only thing that writes the store; it validates every field and serializes concurrent writers with an advisory lock, so the on-disk state can never go malformed.
  • Machine-readable — add --json to any command for scripting and agents.

Install

# 1. Go toolchain (Go 1.26+) — installs the latest tagged release onto your $PATH
go install github.com/hk9890/task-manager@latest

# 2. Prebuilt binary — download an archive for your OS/arch from the Releases page:
#    https://github.com/hk9890/task-manager/releases
#    (each release ships linux/macOS/Windows × amd64/arm64 + a checksums.txt)

# 3. From a checkout (Go 1.26+)
make install      # builds `taskmgr` and puts it on your $PATH

Usage

cd your-project
taskmgr init --prefix proj                 # create .tasks/
taskmgr create --title "First task" --type task --priority 1
taskmgr create --title "Depends on it" --blocked-by proj-0001
taskmgr ready                              # what can I work on now?
taskmgr show proj-0001
taskmgr update proj-0001 --status in_progress
taskmgr close proj-0001 --reason "done"
taskmgr ready                              # the dependent is now ready

Add --json to any command for machine-readable output. Run taskmgr guide for a built-in how-to and taskmgr commands for the full machine-readable catalog.

Use as a Go library

The storage engine is an importable, dependency-light module (github.com/hk9890/task-manager/sdk/tasks — only depends on gopkg.in/yaml.v3):

go get github.com/hk9890/task-manager/sdk@latest
package main

import (
	"fmt"
	"log"

	"github.com/hk9890/task-manager/sdk/tasks"
)

func main() {
	store, err := tasks.Open("") // discover .tasks upward from the cwd
	if err != nil {
		log.Fatal(err)
	}

	res, err := store.Create(tasks.CreateInput{Title: "Fix nav", Type: tasks.TypeBug})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println("created", res.Issue.ID)

	ready, err := store.Ready() // issues with no open blockers
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println("ready:", len(ready))
}

See the package reference on pkg.go.dev.

Documentation

License

Licensed under the Apache License, Version 2.0. See LICENSE.

Documentation

Overview

Command taskmgr is the command-line front-end for a file-based task tracker. It is a thin wrapper over the tasks SDK, which owns all file access and validation.

Directories

Path Synopsis
sdk module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL