Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDirectoryManager ¶
func NewDirectoryManager() service.DirectoryManager
NewDirectoryManager creates a new instance of DirectoryManager and returns it as a service.DirectoryManager interface.
func NewFileWriter ¶
func NewFileWriter() service.FileWriter
NewFileWriter creates a new instance of FileWriter and returns it as a service.FileWriter interface.
Types ¶
type ContextReader ¶
type ContextReader struct{}
ContextReader reads existing context files from a previously generated output directory.
func NewContextReader ¶
func NewContextReader() *ContextReader
NewContextReader creates a new ContextReader.
func (*ContextReader) ReadExistingContext ¶
func (r *ContextReader) ReadExistingContext(basePath string) (string, error)
ReadExistingContext reads CONTEXT.md (required) and AGENTS.md (optional) from the given directory structure and returns their concatenated content. It expects the directory layout produced by the generate command:
<basePath>/AGENTS.md (optional, at root) <basePath>/context/CONTEXT.md (required)
type DirectoryManager ¶
type DirectoryManager struct{}
DirectoryManager handles directory operations
Click to show internal directories.
Click to hide internal directories.