setup

package
v1.223.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratorContext

type GeneratorContext struct {
	IOContext iolib.Context
	Terminal  terminal.Terminal
	UI        *generatorUI.InitUI
}

GeneratorContext holds the I/O and UI components needed for generator commands.

func NewGeneratorContext

func NewGeneratorContext() (*GeneratorContext, error)

NewGeneratorContext creates a new generator context with I/O and terminal setup. This helper reduces boilerplate in init and scaffold commands.

Jump to

Keyboard shortcuts

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