Prints Slack's Real Time Messaging (RTM) API streams to stdout.
Set SLACK_TOKEN
environment variable to a token for RTM API, for example obtained from Legacy Tokens page. Once invoked, slack-stream-json prints RTM event JSON line by line.
slack-stream-json 0.1.0
USAGE:
slack-stream-json [FLAGS]
FLAGS:
-f, --format-message Resolve Slack message format, including mentions and links
-h, --help Prints help information
-i, --inflate-fields Inflate "user", "channel" ID fields to corresponding JSON objects
-p, --print-start-response Print rtm.start response JSON before starting RTM stream
-V, --version Prints version information
- Download binaries from Releases, or
- Clone this repository and install by
cargo install
.