Documentation
¶
Overview ¶
Package prompt creates or merges PROMPT.md with ctx system prompt templates during initialization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePromptTemplates ¶
CreatePromptTemplates creates prompt template files in .context/prompts/.
Parameters:
- cmd: Cobra command for output
- contextDir: The .context/ directory path
- force: If true, overwrite existing files
Returns:
- error: Non-nil if directory creation or file write fails
func HandlePromptMd ¶
HandlePromptMd creates or merges PROMPT.md with ctx content.
Parameters:
- cmd: Cobra command for output
- force: If true, overwrite the existing prompt section
- autoMerge: If true, skip interactive confirmation
- ralph: If true, use ralph mode template
Returns:
- error: Non-nil if file operations fail
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.