initwizard

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandScaffoldTemplate

func ExpandScaffoldTemplate(data ScaffoldTemplateData) (map[string]any, error)

ExpandScaffoldTemplate executes the built-in default_behaviors.tmpl with data and parses the result as a map[string]interface{} representing task_behaviors.

Types

type KitInfo

type KitInfo struct {
	Ref  string
	Dir  string
	Meta *orchestrator.KitMeta
}

KitInfo holds a discovered kit's reference, directory, and parsed metadata.

func ListAllKits

func ListAllKits(reg *orchestrator.KitRegistry) ([]KitInfo, error)

ListAllKits returns all kits found in the registry by walking repo directories.

type ScaffoldTemplateData

type ScaffoldTemplateData struct {
	ProjectID   string
	ProjectName string
	Agent       string
}

ScaffoldTemplateData is the data passed to scaffold templates.

type Wizard

type Wizard struct {
	In      io.Reader
	Out     io.Writer
	KitsDir string
}

Wizard runs the interactive project initialization flow.

func (*Wizard) Run

func (w *Wizard) Run(projectDir string) error

Run executes the interactive wizard in projectDir, writing .boid/project.yaml.

Jump to

Keyboard shortcuts

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