tpl

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallTemplate

func InstallTemplate(name string, repo string) error

InstallTemplate clones a template using git from an url into a local directory.

func RemoveTemplate

func RemoveTemplate(name string) error

func UpdateTemplate

func UpdateTemplate(name string) error

Types

type TemplateInfo

type TemplateInfo struct {
	Name   string
	URL    string
	Commit string
	Path   string
}

func GetInfo

func GetInfo(name string) (TemplateInfo, error)

func ListTemplates

func ListTemplates() ([]TemplateInfo, error)

Jump to

Keyboard shortcuts

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