template

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package template is the gtb-only `template` command group. It manages a generated project's custom template-overlay sources — adding, updating, removing, and listing the sources recorded in .gtb/manifest.yaml. Each mutating verb edits the manifest and regenerates so the overlay (and any gtb-template.yaml `replaces:` suppression) is applied or undone.

The manifest-edit + `regenerate` path is the source of truth; these subcommands are ergonomics over it. See https://gitlab.com/phpboyscout/go-tool-base/-/wikis/specs/0080-generator-custom-partial-templates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdTemplate

func NewCmdTemplate(p *props.Props) *setup.Command

NewCmdTemplate returns the top-level `gtb template` command group with its subcommands attached. Mirrors the shape of internal/cmd/enable so the gtb root composes it the same way.

Types

This section is empty.

Jump to

Keyboard shortcuts

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