slackcat Command Examples

Utility for passing files and command output to Slack. More information: https://github.com/bcicen/slackcat.

slackcat --channel {{channel_name}} {{path/to/file}}

slackcat --channel {{channel_name}} --filename={{filename}} {{path/to/file}}

{{command}} | slackcat --channel {{channel_name}} --filename={{snippet_name}}

{{command}} | slackcat --channel {{channel_name}} --stream