template

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewListCommand

func NewListCommand(w io.Writer) *cobra.Command

NewListCommand creates the `template list` subcommand.

func NewTemplateCommand

func NewTemplateCommand(w io.Writer) *cobra.Command

NewTemplateCommand creates the parent `template` command with subcommands.

func NewViewCommand

func NewViewCommand(w io.Writer) *cobra.Command

NewViewCommand creates the `template <id>` subcommand.

Types

type Template

type Template struct {
	ID       string
	Filename string
	Category string
	Format   string
}

Template holds metadata about an embedded template file.

Jump to

Keyboard shortcuts

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