cmd

package
v0.0.0-...-69163a0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TemplateContributing string = `` /* 1279-byte string literal not displayed */
View Source
const TemplateLicense string = `` /* 1079-byte string literal not displayed */
View Source
const TemplateReadme string = "# {{.ProjectName}}\n\n{{.Description}}"

Variables

This section is empty.

Functions

func BuildContributing

func BuildContributing(contributing Contributing) string

func BuildLicense

func BuildLicense(license License) string

func BuildReadme

func BuildReadme(readme Readme) string

func Execute

func Execute()

func GetTemplateBuilder

func GetTemplateBuilder(name, t string) *template.Template

func GitBranchRename

func GitBranchRename() error

func GitInit

func GitInit() error

Types

type Contributing

type Contributing struct {
	ProjectName string
}

type License

type License struct {
	Year      int
	OwnerName string
}

func NewLicense

func NewLicense(ownerName string) License

type Readme

type Readme struct {
	ProjectName string
	Description string
}

Jump to

Keyboard shortcuts

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