Channel Commands

Manage event channels using the CLI

Channel Commands

Manage event channels for subscribing to and publishing events.

Usage

weikio channels [ChannelId] [command] [options]

Arguments:

NameRequiredDescription
ChannelIdNoID of the channel (required for some operations)

Options:

FlagDescription
-ed, —eventdefinitionsList event definitions to which the given channel has subscribed

Subcommands

ls

List all channels.

Usage:

weikio channels ls

Example:

weikio channels ls

delete

Delete a channel.

Usage:

weikio channels delete <ChannelId>

Arguments:

NameRequiredDescription
ChannelIdYesID of the channel to delete

Example:

weikio channels delete my-channel

admin

Create an admin client for managing channels.

Usage:

weikio channels <ChannelId> admin

Arguments:

NameRequiredDescription
ChannelIdYesID of the channel

Example:

weikio channels my-channel admin

Additional Operations

List Event Definitions for a Channel

List all event definitions to which a specific channel has subscribed.

Usage:

weikio channels <ChannelId> --eventdefinitions

Example:

weikio channels my-channel --eventdefinitions