Documentation
¶
Overview ¶
Package core provides helper functions for the add command.
This package contains entry formatting, validation, content extraction, and file insertion logic used by the add command's Run function.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package entry provides file-type predicates for routing add entries to the correct context file.
|
Package entry provides file-type predicates for routing add entries to the correct context file. |
|
Package example provides usage examples shown when the add command receives no content for a given entry type.
|
Package example provides usage examples shown when the add command receives no content for a given entry type. |
|
Package extract retrieves entry content from command arguments, files, or stdin for the add command.
|
Package extract retrieves entry content from command arguments, files, or stdin for the add command. |
|
Package format builds timestamped Markdown entries for decisions, learnings, tasks, and conventions.
|
Package format builds timestamped Markdown entries for decisions, learnings, tasks, and conventions. |
|
Package insert places formatted entries into context file content at the correct position based on entry type and section headers.
|
Package insert places formatted entries into context file content at the correct position based on entry type and section headers. |
|
Package normalize ensures section headings and other user input have the correct Markdown format before insertion.
|
Package normalize ensures section headings and other user input have the correct Markdown format before insertion. |
Click to show internal directories.
Click to hide internal directories.