Event Definition Commands
Manage event definitions using the CLI
Event Definition Commands
Manage event definitions that define the structure and schema of events. Can be shortened 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