publish CLI command reference

Detailed information on the publish CLI command

Description

Publish an event to multiple consumers

Usage

dapr publish [flags]

Flags

Name Environment Variable Default Description
--data, -d The JSON serialized string (optional)
--help, -h Print this help message
--pubsub The name of the pub/sub component
--topic, -t The topic to be published to