Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LicenseTemplate = `` /* 1087-byte string literal not displayed */
View Source
var ReadmeTemplate = `
# {{ .ProjectName }}
# Overview
# Getting Started
`
Functions ¶
func AddRemoteOrigin ¶
AddRemoteOrigin sets the URL for the 'origin' remote
func Create ¶
Create handles the initial local filesystem setup including creating the directory, initializing git, rendering initial files, etc
func GetGitUserName ¶ added in v1.1.0
GetGitUserName attempts to read the author name from git config
Types ¶
type LicenseData ¶
LicenseData is the information required to render the LICENSE file in the new repo
type ReadmeData ¶
type ReadmeData struct {
ProjectName string
}
ReadmeData is the information required to render the README.md file in the new repo
Click to show internal directories.
Click to hide internal directories.