root

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

Documentation

Overview

Package root implements the ctx change command.

It shows what changed in context files since the last session or a specified time range.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the change command.

Returns:

  • *cobra.Command: Configured change command with flags registered

func Run

func Run(cmd *cobra.Command, since string) error

Run executes the changes command logic.

Detects a reference time from the --since flag or session markers, finds context and code changes since that time, and renders a summary.

Parameters:

  • cmd: Cobra command for output stream
  • since: Time reference string (duration like "24h" or date like "2026-03-01")

Returns:

  • error: Non-nil if reference time detection fails

Types

This section is empty.

Jump to

Keyboard shortcuts

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