slackcat
Utility for passing files and command output to Slack. tldr-pages
On several platforms
Several platforms
Post a file to Slack
slackcat --channel channel_name path/to/fileIdentifyPost a file to Slack with a custom filename
slackcat --channel channel_name --filename filename path/to/fileIdentifyPipe command output to Slack as a text snippet
command | slackcat --channel channel_name --filename snippet_nameIdentifyStream command output to Slack continuously
command | slackcat --channel channel_name --streamIdentify