Feat(stdin-handler): Also print to
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user