template

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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 docs/development/specs/2026-06-15-generator-custom-partial-templates.md.

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