reindex

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

Documentation

Overview

Package reindex provides the "ctx learning reindex" subcommand.

Package reindex implements the ctx learning reindex subcommand.

It regenerates the LEARNINGS.md index from individual learning files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the reindex subcommand for learning.

Returns:

  • *cobra.Command: Command for regenerating the LEARNINGS.md index

func Run

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

Run regenerates the LEARNINGS.md index.

Parameters:

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

Returns:

  • error: Non-nil if the 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