Documentation
¶
Index ¶
- func CreateTempFile(prefix, content string) (*os.File, error)
- func EditTempFile(content, prefix string) (string, error)
- func EditTempFileWithTemplate(template, prefix string) (string, error)
- func GetEditorCommand() string
- func HasInstructions(content string) bool
- func ReadTempFile(path string) (string, error)
- func StripInstructions(content string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditTempFile ¶
func GetEditorCommand ¶
func GetEditorCommand() string
func HasInstructions ¶
HasInstructions checks if content contains instruction comments that should be stripped
func ReadTempFile ¶
func StripInstructions ¶
StripInstructions removes instruction comments from content Looks for common instruction patterns and removes everything before the separator
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.