What are we building?
Let's build a plugin to interact with Platform Events from the Salesforce CLI
We will create a topic called events
and the following commands:
sf events schema Event_Name__e
sf events publish Event_Name__e --payload '{}'
sf events subscribe /event/Event_Name__e
sf events metrics --start-date YYYY-MM-DD --end-date YYYY-MM-DD
sf events metrics --type
Last updated