repotmpl

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseTemplateSubDir        = "template"
	RepositoryNameTemplateKey = "REPONAMETMPL"
)

Variables

View Source
var (
	//nolint:gochecknoglobals // Used as a const
	RepoTemplateURL = url.URL{
		Scheme: "https",
		Host:   "github.com",
		Path:   "kemadev/repo-tmpl",
	}
	//nolint:gochecknoglobals // Cobra flags are global
	TargetTemplate string
)
View Source
var (
	ErrNotInGitRepo = fmt.Errorf(
		"not in a git repository, please run this command inside a git repository",
	)
	ErrGitURLFormatInvalid = fmt.Errorf("git repository URL format is invalid")
)

Functions

func Init

func Init(_ *cobra.Command, _ []string) error

Init initializes the repository template.

Types

This section is empty.

Jump to

Keyboard shortcuts

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