Event Definition Commands
Weik.io 2026.1Manage event definitions using the CLI.
On this page
Manage event definitions that define the structure and schema of events. You can shorten the command to ed.
Usage#
Terminal
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 |
|---|---|
- |
List channels which have subscribed to this event definition |
Subcommands#
ls#
List all event definitions.
Usage:
Terminal
weikio eventdefinitions ls
# or
weikio ed lsExample:
Terminal
weikio eventdefinitions lsAdditional operations#
List channels for an event definition#
List all channels that have subscribed to a specific event definition.
Usage:
Terminal
weikio eventdefinitions <EventDefinitionId> --channelsExample:
Terminal
weikio eventdefinitions my-event --channels