Feat(stdin-handler): Also print to

This commit is contained in:
2022-09-10 02:46:27 +08:00
parent bcc99e523e
commit 2e0c471fa6

View File

@@ -54,6 +54,9 @@ func handleStdIn(webhookFlag *bool, webhookURL *string) {
return
}
// Print String to stdout anyway
fmt.Println(strings.TrimSpace(currStr))
// Handle string
if *webhookFlag {
err = sendWebhook(&currStr, webhookURL)