Versions in this module Expand all Collapse all v0 v0.16.0 May 13, 2026 Changes in this version + const KindCycle + const KindFilenameRender + const KindParse + const KindParseArgs + const KindPartialExpansionLimit + const KindSkipFiles + const KindUndeclaredVariable + const KindUnresolvableDependency + var ErrDependencyNotInBundle = errors.New("dependency not present in bundle") + var ErrDynamicFilename = errors.New("output path has a dynamic (templated) filename") + var ErrOutputNotProduced = errors.New("output path not produced by template tree") + var ErrRemoteDependencyInBundle = errors.New("remote dependency cannot be bundled") + var ErrSkipFilesExcluded = errors.New("output path excluded by skip_files rule") + func BundleFromOptions(ctx context.Context, l logging.Logger, opts *options.BoilerplateOptions) (*Bundle, []BundleNote, error) + func RenderFileFromFS(ctx context.Context, rootFS fs.FS, rootPath, outputPath string, ...) (string, error) + type AnalysisError struct + File string + Kind string + Message string + Name string + Template string + type Bundle struct + Dependencies map[string][]ResolvedDep + Files map[string]string + RootPath string + type BundleNote struct + Kind string + Message string + Name string + type InputEntry struct + DeclaredIn string + Description string + Files []string + Name string + Type string + type PreparedBundle struct + DepsIndex map[string][]ResolvedDep + RootFS fs.FS + RootPath string + func (b *PreparedBundle) RenderFile(ctx context.Context, outputPath string, userVars map[string]any) (string, error) + func (b *PreparedBundle) RenderFiles(ctx context.Context, outputPaths []string, userVars map[string]any) []RenderFileResult + type RenderFileResult struct + Content string + Err error + Path string + func RenderFilesFromFS(ctx context.Context, rootFS fs.FS, rootPath string, outputPaths []string, ...) []RenderFileResult + type ResolvedDep struct + BundlePath string + Each string + Name string + OutputFolder string + type Result struct + Errors []AnalysisError + Files map[string][]string + Inputs map[string]InputEntry + Sources map[string]string + func FromFS(ctx context.Context, rootFS fs.FS, rootPath string, vars map[string]any) (*Result, error) + func FromOptions(ctx context.Context, l logging.Logger, opts *options.BoilerplateOptions) (*Result, error)