Documentation
¶
Overview ¶
Package specwatcher watches spec files and triggers prompt generation on changes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpecWatcher ¶
SpecWatcher watches the specs in-progress directory and triggers generation when a spec appears there.
func NewSpecWatcher ¶
func NewSpecWatcher( inProgressDir string, generator generator.SpecGenerator, debounce time.Duration, currentDateTimeGetter libtime.CurrentDateTimeGetter, optionalAutoGenerate ...bool, ) SpecWatcher
NewSpecWatcher creates a new SpecWatcher. An optional bool can be passed as the 5th argument to enable auto-generation. When the optional arg is omitted, auto-generation defaults to false (disabled).
Click to show internal directories.
Click to hide internal directories.