You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@pcon/sf-cli-pubsub

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pcon/sf-cli-pubsub

A toolchain to help with pubsub related tasks.

1.2.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

@pcon/pubsub

NPM Downloads/week

Setup

Install Latest

sf plugins install @pcon/sf-cli-pubsub

You will be prompted to confirm that you want to install an unsigned plugin. Choose "yes"

This plugin is not digitally signed and its authenticity cannot be verified. Continue installation y/n?: y

To allowlist this plugin, add an entry for it in $HOME/.config/sfdx/unsignedPluginAllowList.json.

Install Older Version

sf plugins install @pcon/sf-cli-pubsub@x.y.z

Issues

Please report any issues at https://github.com/pcon/sf-cli-pubsub/issues

Commands

sf pubsub subscribe

Subscribes to one or more topics.

USAGE
  $ sf pubsub subscribe -o <value> --topic <value>... [--json] [--flags-dir <value>] [-c <value>] [--api-version
    <value>]

FLAGS
  -c, --count=<value>        [default: 100] The number of messages to watch for.
  -o, --target-org=<value>   (required) Username or alias of the target org. Not required if the `target-org`
                             configuration variable is already set.
      --api-version=<value>  Override the api version used for api requests made by this command
      --topic=<value>...     (required) The topic to subscribe to.

GLOBAL FLAGS
  --flags-dir=<value>  Import flag values from a directory.
  --json               Format output as json.

DESCRIPTION
  Subscribes to one or more topics.

  Connects to a pub / sub endpoint and logs the message to the console.

EXAMPLES
  $ sf pubsub subscribe --target-org myTargetOrg --topic "/data/CaseChangeEvent" --topic "/event/My_Event**e" --topic "/data/My_Object**ChangeEvent"

See code: src/commands/pubsub/subscribe.ts

Keywords

force

FAQs

Package last updated on 22 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.