slackcat
slackcat copied to clipboard
Post data received on stdin as a single message wrapped in a codeblock
Hi!
What was the rationale behind 8ce046db4a10c48205fa42034d025e54c5952e75? I imagine this change in behaviour would be useful when dealing with streaming output. Was that the intended use case?
I use slackcat
to plumb finite chunks of command output into Slack. So that the lines of command output are not multiplexed with concurrent channel activity from other users, it would be nice to consume and post the entire stdin stream as before. Marking the text as preformated would also improve legibility.
Would you be receptive to such a PR? We could accommodate both use cases with a new --stream
flag.
@saj hi, this projects looks abandoned, it doesn't get any update or replies for years now.
Sorry about hijacking the issue but I've implemented a package that we use to post messages as Slackbot, this feature works just fine there, please take a look at: https://github.com/monde-sistemas/slackbot/tree/master/slackbot-console