Note: Your API key and secret can be found on the Stream Dashboard and is specific to your organization.
We purposefully chose the executable name stream-cli
to avoid conflict with another tool called imagemagick
which already has a stream
executable.
If you do not have imagemagick
installed, it might be more comfortable to rename stream-cli
to stream
. Alternatively you can set up a symbolic link:
$ ln -s ~/Downloads/stream-cli /usr/local/bin/stream
$ stream --version
stream-cli version 1.0.0
Basic commands use the following syntax:
$ stream-cli [chat|feeds] [command] [args] [options]
Example:
$ stream-cli chat get-channel -t messaging -i redteam
The --help
keyword is available every step of the way. Examples:
$ stream-cli --help
$ stream-cli chat --help
$ stream-cli chat get-channel --help
We provide autocompletion for the most popular shells (PowerShell, Bash, ZSH, Fish).
$ stream-cli completion --help
If you have any suggestions or just want to let us know what you think of the stream cli, please send us a message at [email protected] or create a GitHub Issue.
We welcome code changes that improve this library or fix a problem, please make sure to follow all best practices and add tests if applicable before submitting a Pull Request on Github. We are very happy to merge your code in the official repository. Make sure to sign our Contributor License Agreement (CLA) first. See our license file for more details.
We've recently closed a $38 million Series B funding round and we keep actively growing. Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world.
Check out our current openings and apply via Stream's website.