archive

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: 18 Imported by: 0

Documentation

Overview

Package archive implements the ctx task archive subcommand.

It moves completed tasks from TASKS.md to a timestamped archive file, leaving pending tasks in place.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the tasks archive subcommand.

The archive command moves completed tasks (marked with [x]) from TASKS.md to a timestamped archive file in .context/archive/. Pending tasks ([ ]) remain in TASKS.md.

Flags:

  • --dry-run: Preview changes without modifying files

Returns:

  • *cobra.Command: Configured archive subcommand

Types

This section is empty.

Jump to

Keyboard shortcuts

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