package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Mar 24, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package root implements the ctx reindex command.
It regenerates the quick-reference indices at the top of DECISIONS.md
and LEARNINGS.md.
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
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.