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:
| Name | Required | Description |
|---|---|---|
| ChannelId | No | ID of the channel (required for some operations) |
Options:
| Flag | Description |
|---|---|
| -ed, —eventdefinitions | List 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:
| Name | Required | Description |
|---|---|---|
| ChannelId | Yes | ID 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:
| Name | Required | Description |
|---|---|---|
| ChannelId | Yes | ID 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