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:

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