From d1c35d53afd02326806ab4eeb96f63df7eb5b53b Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Tue, 16 Aug 2022 14:25:01 +0700 Subject: [PATCH] feat: show currently support --- main.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 50ace25..bf6ac06 100644 --- a/main.go +++ b/main.go @@ -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)