task

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package task implements the ctx task command for managing task archival and snapshots.

Package task implements the "ctx tasks" command for managing task archival and snapshots.

The task package provides subcommands to:

  • archive: Move completed tasks to timestamped archive files
  • snapshot: Create point-in-time copies of TASKS.md

Archive files preserve phase structure for traceability, while snapshots copy the entire file as-is without modification.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the task command with subcommands.

The task command provides utilities for managing the task lifecycle:

  • archive: Move completed tasks out of TASKS.md
  • snapshot: Create point-in-time backup without modification

Returns:

  • *cobra.Command: Configured task command with subcommands

Types

This section is empty.

Directories

Path Synopsis
cmd
archive
Package archive implements the ctx task archive subcommand.
Package archive implements the ctx task archive subcommand.
complete
Package complete implements the ctx task complete command.
Package complete implements the ctx task complete command.
snapshot
Package snapshot implements the ctx task snapshot subcommand.
Package snapshot implements the ctx task snapshot subcommand.
Package core provides shared helpers for task subcommands.
Package core provides shared helpers for task subcommands.
count
Package count counts pending top-level tasks in TASKS.md.
Package count counts pending top-level tasks in TASKS.md.
path
Package path resolves file paths for TASKS.md and the task archive directory.
Package path resolves file paths for TASKS.md and the task archive directory.

Jump to

Keyboard shortcuts

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