taskwriter

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package taskwriter handles writing Claude Code task JSON files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaudeTask

type ClaudeTask struct {
	ID          string   `json:"id"`
	Subject     string   `json:"subject"`
	Description string   `json:"description"`
	ActiveForm  string   `json:"activeForm"`
	Status      string   `json:"status"`
	Blocks      []string `json:"blocks"`
	BlockedBy   []string `json:"blockedBy"`
}

ClaudeTask represents a Claude Code task in JSON format This schema matches Claude Code's task management system

type Writer

type Writer struct{}

Writer handles writing tasks to the filesystem

func NewWriter

func NewWriter() *Writer

NewWriter creates a new Writer instance

func (*Writer) WriteTasks

func (w *Writer) WriteTasks(folder string, tasks []ClaudeTask) error

WriteTasks writes a collection of tasks to the specified folder Each task is written as a separate JSON file named {task.ID}.json

Jump to

Keyboard shortcuts

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