ocm_get_pubsub.md
August 20, 2024 · View on GitHub
ocm get pubsub — Get The Pubsub Spec For An Ocm Repository
Synopsis
ocm get pubsub {<ocm repository>}
Aliases
pubsub, ps
Options
-h, --help help for pubsub
-o, --output string output mode (JSON, json, yaml)
-s, --sort stringArray sort fields
Description
A repository may be able to store a publish/subscribe specification to propagate the creation or update of component versions. If such an implementation is available and a specification is assigned to the repository, it is shown. The specification can be set with the ocm set pubsub.
With the option --output the output mode can be selected.
The following modes are supported:
(default)JSONjsonyaml
SEE ALSO
Parents
- ocm get — Get information about artifacts and components
- ocm — Open Component Model command line client
Additional Links
- ocm set pubsub — Set the pubsub spec for an ocm repository