feat: show currently support

main
sudo pacman -Syu 2022-08-16 14:25:01 +07:00
parent 95a3ee333c
commit d1c35d53af
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 5 additions and 1 deletions

View File

@ -75,7 +75,11 @@ func (a *action) RunHelp(c *cli.Context) error {
func (a *action) RunGenerate(c *cli.Context) error {
a.getFlags(c)
fmt.Printf("What LICENSE do you chose: ")
fmt.Println("What LICENSE do you chose: ")
fmt.Println("Currently support: ")
for templateName := range templates {
fmt.Println("-", templateName)
}
licenseName := ioe.ReadInput()
licenseData, licenseFilename, err := generateLicense(licenseName)