scaffold

package
v0.7.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package scaffold provides the provider for loading embedded scaffold templates. It abstracts the file system access to the embedded assets directory, allowing commands to retrieve configuration templates for various targets (e.g., idx, vscode) without hardcoding strings in the source.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider handles retrieving scaffold templates.

func NewProvider

func NewProvider() *Provider

NewProvider creates a new scaffold provider.

func (*Provider) GetFiles

func (p *Provider) GetFiles(target string) (map[string]string, error)

GetFiles returns a map of filename -> content for a specific target (e.g., "idx", "vscode").

Jump to

Keyboard shortcuts

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