{"id":29882790,"url":"https://github.com/pcon/sf-cli-pubsub","last_synced_at":"2025-07-31T12:44:17.597Z","repository":{"id":303792743,"uuid":"1006528387","full_name":"pcon/sf-cli-pubsub","owner":"pcon","description":"A toolchain to help with pubsub related tasks.","archived":false,"fork":false,"pushed_at":"2025-07-20T07:00:14.000Z","size":112,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-21T23:46:56.227Z","etag":null,"topics":["pubsub","salesforce","salesforce-cli","salesforce-cli-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-22T13:27:30.000Z","updated_at":"2025-06-22T19:08:13.000Z","dependencies_parsed_at":"2025-07-09T13:04:28.043Z","dependency_job_id":"958c3740-a95b-4dcd-a491-9cd64366a4fa","html_url":"https://github.com/pcon/sf-cli-pubsub","commit_stats":null,"previous_names":["pcon/sf-cli-pubsub"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/pcon/sf-cli-pubsub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fsf-cli-pubsub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fsf-cli-pubsub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fsf-cli-pubsub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fsf-cli-pubsub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcon","download_url":"https://codeload.github.com/pcon/sf-cli-pubsub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fsf-cli-pubsub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268040344,"owners_count":24185847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pubsub","salesforce","salesforce-cli","salesforce-cli-plugin"],"created_at":"2025-07-31T12:44:16.427Z","updated_at":"2025-07-31T12:44:17.539Z","avatar_url":"https://github.com/pcon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @pcon/sf-cli-pubsub\n\n[![NPM](https://img.shields.io/npm/v/@pcon/sf-cli-pubsub.svg?label=sf-cli-pubsub)](https://www.npmjs.com/package/@pcon/sf-cli-pubsub) [![Downloads/week](https://img.shields.io/npm/dw/@pcon/sf-cli-pubsub.svg)](https://npmjs.org/package/@pcon/sf-cli-pubsub)\n\n## Setup\n\n### Install Latest\n\n```\nsf plugins install @pcon/sf-cli-pubsub\n```\n\nYou will be prompted to confirm that you want to install an unsigned plugin. Choose \"yes\"\n\n```\nThis plugin is not digitally signed and its authenticity cannot be verified. Continue installation y/n?: y\n```\n\nTo allowlist this plugin, [add an entry for it in $HOME/.config/sfdx/unsignedPluginAllowList.json](https://developer.salesforce.com/blogs/2017/10/salesforce-dx-cli-plugin-update.html).\n\n### Install Older Version\n\n```bash\nsf plugins install @pcon/sf-cli-pubsub@x.y.z\n```\n\n## Issues\n\nPlease report any issues at https://github.com/pcon/sf-cli-pubsub/issues\n\n## Commands\n\n\u003c!-- commands --\u003e\n\n- [`sf pubsub subscribe`](#sf-pubsub-subscribe)\n\n## `sf pubsub subscribe`\n\nSubscribes to one or more topics.\n\n```\nUSAGE\n  $ sf pubsub subscribe -o \u003cvalue\u003e --topic \u003cvalue\u003e... [--json] [--flags-dir \u003cvalue\u003e] [-c \u003cvalue\u003e] [--api-version\n    \u003cvalue\u003e]\n\nFLAGS\n  -c, --count=\u003cvalue\u003e        [default: 100] The number of messages to watch for.\n  -o, --target-org=\u003cvalue\u003e   (required) Username or alias of the target org. Not required if the `target-org`\n                             configuration variable is already set.\n      --api-version=\u003cvalue\u003e  Override the api version used for api requests made by this command\n      --topic=\u003cvalue\u003e...     (required) The topic to subscribe to.\n\nGLOBAL FLAGS\n  --flags-dir=\u003cvalue\u003e  Import flag values from a directory.\n  --json               Format output as json.\n\nDESCRIPTION\n  Subscribes to one or more topics.\n\n  Connects to a pub / sub endpoint and logs the message to the console.\n\nEXAMPLES\n  $ sf pubsub subscribe --target-org myTargetOrg --topic \"/data/CaseChangeEvent\" --topic \"/event/My_Event**e\" --topic \"/data/My_Object**ChangeEvent\"\n```\n\n_See code: [src/commands/pubsub/subscribe.ts](https://github.com/pcon/sf-cli-pubsub/blob/1.2.1/src/commands/pubsub/subscribe.ts)_\n\n\u003c!-- commandsstop --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcon%2Fsf-cli-pubsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcon%2Fsf-cli-pubsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcon%2Fsf-cli-pubsub/lists"}