wizard

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package wizard implements a step-by-step terminal setup wizard for cloop init. It uses bufio.Scanner and ANSI escape codes; no external dependencies required.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTTY

func IsTTY() bool

IsTTY reports whether stdin is an interactive terminal.

Types

type Result

type Result struct {
	Goal         string
	Provider     string
	APIKey       string
	Model        string
	MaxSteps     int
	MaxParallel  int
	PMMode       bool
	Instructions string
}

Result holds the values collected by the wizard.

func Run

func Run() (*Result, error)

Run launches the interactive wizard and returns the collected Result. It writes prompts to stdout and reads answers from stdin.

Jump to

Keyboard shortcuts

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