factory

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

Factory orchestrates the main processing loop.

func New

func New() *Factory

New creates a new Factory.

func (*Factory) GetPromptsDir

func (f *Factory) GetPromptsDir() string

GetPromptsDir returns the prompts directory.

func (*Factory) Run

func (f *Factory) Run(ctx context.Context) error

Run executes the main processing loop: 1. Scan for queued prompts 2. Process first one (alphabetically) 3. On success: commit, version, push, mark completed, loop again 4. On failure: mark failed, exit 1

func (*Factory) SetPromptsDir

func (f *Factory) SetPromptsDir(dir string)

SetPromptsDir sets the prompts directory (useful for testing).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL