Feat(stdin-handler): Also print to
This commit is contained in:
@@ -54,6 +54,9 @@ func handleStdIn(webhookFlag *bool, webhookURL *string) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Print String to stdout anyway
|
||||||
|
fmt.Println(strings.TrimSpace(currStr))
|
||||||
|
|
||||||
// Handle string
|
// Handle string
|
||||||
if *webhookFlag {
|
if *webhookFlag {
|
||||||
err = sendWebhook(&currStr, webhookURL)
|
err = sendWebhook(&currStr, webhookURL)
|
||||||
|
|||||||
Reference in New Issue
Block a user