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.
Click to show internal directories.
Click to hide internal directories.