scaffold

package
v1.234.0-rc.1 Latest Latest
Warning

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

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

Documentation

Overview

Package scaffold generates plugin projects using Atmos's existing scaffold engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, directory string, options Options) error

Create runs the shared scaffold loader, field validation, rendering, conflict handling, and provenance recording. It does not invoke another Cobra command.

Types

type Options

type Options struct {
	DisplayName string
	Description string
	Author      string
	Repository  string
	Name        string
	Module      string
	Runtime     string
	Capability  string
	SDKVersion  string
	SDKPath     string
	Force       bool
	Defaults    bool
}

Options selects the implemented starter and its generation behavior.

Jump to

Keyboard shortcuts

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