create

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingBlueprintName = errors.New("missing blueprint name")
	ErrMissingTargets       = errors.New("missing blueprint targets")
	ErrMissingEditChange    = errors.New("missing blueprint edit change")
)

Functions

func RunCreate

func RunCreate(repo *rootconfig.Config, opts CreateOptions) error

func RunEdit

func RunEdit(repo *rootconfig.Config, opts EditOptions) error

Types

type CreateOptions

type CreateOptions struct {
	Name           string
	Targets        []string
	Before         []string
	Dependencies   bool
	ReloadEnabled  bool
	TargetReload   map[string]bool
	NonInteractive bool
	In             io.Reader
	Out            io.Writer
}

type EditOptions

type EditOptions struct {
	Name           string
	AddTargets     []string
	RemoveTargets  []string
	AddBefore      []string
	RemoveBefore   []string
	Dependencies   *bool
	ReloadEnabled  *bool
	TargetReload   map[string]bool
	IncludeDeps    []string
	ExcludeDeps    []string
	NonInteractive bool
	In             io.Reader
	Out            io.Writer
}

Jump to

Keyboard shortcuts

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