Event Source Instance Commands
Manage event source instances using the CLI
Event Source Instance Commands
Manage event source instances that are running instances of event sources. Can be shortened to esi.
Usage
weikio eventsourceinstance [command] [options]
# or use the alias
weikio esi [command] [options]
Subcommands
ls
List all event source instances.
Usage:
weikio eventsourceinstance ls
# or
weikio esi ls
Example:
weikio eventsourceinstance ls
add
Add a new event source instance.
Usage:
weikio eventsourceinstance add <EventSourceType> <InstanceConfig>
Arguments:
| Name | Required | Description |
|---|---|---|
| EventSourceType | Yes | Type of event source |
| InstanceConfig | Yes | Configuration for the instance |
Example:
weikio eventsourceinstance add FileWatcher '{"path": "/data/inbox"}'
delete
Delete an event source instance.
Usage:
weikio eventsourceinstance delete <InstanceId>
Arguments:
| Name | Required | Description |
|---|---|---|
| InstanceId | Yes | ID of the instance to delete |
Example:
weikio eventsourceinstance delete my-instance