scaffold

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fragments

func Fragments() map[string]profile.RawProfile

Fragments returns the built-in fragments loaded from embedded YAML files. It panics on load failure — a broken built-in fragment should fail loudly.

func Run

func Run(ctx context.Context, opts Options, stdin io.Reader, stdout, stderr io.Writer) error

Types

type Options

type Options struct {
	Name        string
	Extends     []string
	Force       bool
	Merge       bool
	DryRun      bool
	Interactive bool
	ProfileDir  string
}

Jump to

Keyboard shortcuts

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