Documentation
¶
Overview ¶
Package importer implements the ctx memory import subcommand.
It classifies and promotes MEMORY.md entries into structured .context/ files using heuristic keyword matching.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd returns the memory import subcommand.
Returns:
- *cobra.Command: command for importing MEMORY.md entries into .context/ files.
func Run ¶
Run parses MEMORY.md entries, classifies them by heuristic keyword matching, deduplicates against prior imports, and promotes new entries into the appropriate .context/ files.
Parameters:
- cmd: Cobra command for output routing.
- dryRun: when true, show the classification plan without writing.
Returns:
- error: on discovery, read, state, or promotion failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.