@amphro/streamer

1.0.1 • Public • Published

CircleCI Downloads/week

streamer

Stream platform or streaming events to the console via a channel.

This plugin was build as part of a Dreamforce'18 talk. Here are the slides and the recording will be linked here when posted.

$ sfdx plugin:install @amphro/streamer
$ sfdx COMMAND
running command...
$ sfdx channel --help
USAGE
  $ sfdx COMMAND
...

sfdx channel:stream [CHANNEL]

stream platform or streaming events to the console via a channel

USAGE
  $ sfdx channel:stream [CHANNEL]

OPTIONS
  -r, --replayid=replayid                         a replayId to replay events from
  -u, --targetusername=targetusername             username or alias for the target org; overrides default target org
  --apiversion=apiversion                         override the api version used for api requests made by this command
  --json                                          format output as json
  --loglevel=(trace|debug|info|warn|error|fatal)  logging level for this command invocation

EXAMPLE
  sfdx channel:stream /event/MyEvent__e -u de -r 20

See code: src/commands/channel/stream.ts

Package Sidebar

Install

npm i @amphro/streamer

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

309 kB

Total Files

11

Last publish

Collaborators

  • amphro