Event Definition Commands
Manage event definitions using the CLI
Manage event definitions that define the structure and schema of events. You can shorten the command to ed.
Usage
weikio eventdefinitions [EventDefinitionId] [command] [options]
# or use the alias
weikio ed [EventDefinitionId] [command] [options]
Arguments:
| Name | Required | Description |
|---|---|---|
| EventDefinitionId | No | ID of the event definition (required for some operations) |
Options:
| Flag | Description |
|---|---|
| -c, —channels | List channels which have subscribed to this event definition |
Subcommands
ls
List all event definitions.
Usage:
weikio eventdefinitions ls
# or
weikio ed ls
Example:
weikio eventdefinitions ls
Additional operations
List channels for an event definition
List all channels that have subscribed to a specific event definition.
Usage:
weikio eventdefinitions <EventDefinitionId> --channels
Example:
weikio eventdefinitions my-event --channels