fix: separate email sent to links

This commit is contained in:
Maas Lalani
2023-06-20 10:21:01 -04:00
parent fc5b088c4f
commit 71008451b1
2 changed files with 14 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ var rootCmd = &cobra.Command{
RunE: func(cmd *cobra.Command, args []string) error {
if os.Getenv(RESEND_API_KEY) == "" {
fmt.Printf("\n %s %s %s\n\n", errorHeaderStyle.String(), inlineCodeStyle.Render(RESEND_API_KEY), "environment variable is required.")
fmt.Printf(" %s %s\n\n", commentStyle.Render("You can grab one at"), linkStyle.Render("https://resend.com"))
fmt.Printf(" %s %s\n\n", commentStyle.Render("You can grab one at"), linkStyle.Render("https://resend.com/api-keys"))
os.Exit(1)
}