Closed TrevorSayre closed 5 years ago
This may be solved with just:
echo -e "test message" | slackcat -t -s -c channelname
But then I have to ctrl-c
twice to exit, etc.
you should not need to ctrl-c
when streaming; slackcat
will exit when piped input reaches EOF.
Using your example:
slackcat connected to team as user
slackcat starting stream
test message
slackcat flushing remaining messages to Slack...
slackcat posted 1 message lines to channelname
closing for now; feel free to reopen if you have further questions
would like to be able to just:
slackcat -c channelname --comment "test message"
fire and forget