scaffold

package
v0.7.0-alpha.2 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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