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

Documentation

Overview

Package root implements the ctx reindex command.

It regenerates the quick-reference indices at the top of DECISIONS.md and LEARNINGS.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the reindex convenience command.

The reindex command regenerates the quick-reference index at the top of both DECISIONS.md and LEARNINGS.md in a single invocation.

Returns:

  • *cobra.Command: The reindex command

func Run

func Run(cmd *cobra.Command, _ []string) error

Run regenerates the index for both DECISIONS.md and LEARNINGS.md.

Parameters:

  • cmd: Cobra command for output messages
  • args: Command arguments (unused)

Returns:

  • error: Non-nil if either file read/write fails

Types

This section is empty.

Jump to

Keyboard shortcuts

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