Skip to content
No description, website, or topics provided.
Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
src
.gitignore
Cargo.lock
Cargo.toml
README.md

README.md

slack-stream-json

Prints Slack's Real Time Messaging (RTM) API streams to stdout.

Usage

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

Install

  • Download binaries from Releases, or
  • Clone this repository and install by cargo install.
You can’t perform that action at this time.