feat: add notice about reading from Git config
This commit is contained in:
parent
9e3aa3f234
commit
067b7253b3
4
main.go
4
main.go
@ -109,8 +109,8 @@ func genLicense(licName string, inputData InputData, outFileName string) error {
|
|||||||
func main() {
|
func main() {
|
||||||
OutputFile := flag.String("output", "LICENSE", "Specify different output file")
|
OutputFile := flag.String("output", "LICENSE", "Specify different output file")
|
||||||
LicenseName := flag.String("license", "", "Choose a license")
|
LicenseName := flag.String("license", "", "Choose a license")
|
||||||
AuthorName := flag.String("name", "", "Set the author name")
|
AuthorName := flag.String("name", "", "Set the author name (read from Git by default)")
|
||||||
AuthorEmail := flag.String("email", "", "Set the author email")
|
AuthorEmail := flag.String("email", "", "Set the author email (read from Git by default)")
|
||||||
ListLicenses := flag.Bool("list", false, "List available licenses")
|
ListLicenses := flag.Bool("list", false, "List available licenses")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user