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:

NameRequiredDescription
EventDefinitionIdNoID of the event definition (required for some operations)

Options:

FlagDescription
-c, —channelsList 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