0.0.0 • Published 4 years ago

event-store-toolbox v0.0.0

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
4 years ago

Event Store CLI

CLI tool to interact with DynamoDB event stores

See it in Action 🎥

Replay Demonstration

Table of Contents

Usage

$ npm install -g event-store-toolbox
$ event-store-toolbox COMMAND
running command...
$ event-store-toolbox (-v|--version|version)
event-store-toolbox/0.0.0 darwin-x64 node-v12.20.0
$ event-store-toolbox --help [COMMAND]
USAGE
  $ event-store-toolbox COMMAND
...
$ npm install -g event-store-toolbox
$ event-store-toolbox COMMAND
running command...
$ event-store-toolbox (-v|--version|version)
event-store-toolbox/0.0.0 darwin-x64 node-v12.20.0
$ event-store-toolbox --help [COMMAND]
USAGE
  $ event-store-toolbox COMMAND
...

Commands

event-store-toolbox help [COMMAND]

display help for event-store-toolbox

USAGE
  $ event-store-toolbox help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

event-store-toolbox replay [FILE]

replay domain events from DynamoDB

USAGE
  $ event-store-toolbox replay [FILE]

OPTIONS
  -T, --topic=topic                              SNS topic ARN to publish events to
  -h, --help                                     show CLI help
  -k, --subscriptionAttributeKey=type|eventName  [default: type] The SNS attribute to filter based on
  -r, --region=us-east-2|us-east-1               [default: us-east-2] AWS region of resources
  -s, --subscription=subscription                ARN of the SNS subscription to target
  -t, --table=table                              DynamoDB table name to read events from

EXAMPLES
  $ event-store-toolbox replay
     --table application-review-dev-event-store
     --topic arn:aws:sns:us-east-2:403888327586:application-review-dev-events.fifo
  
  $ event-store-toolbox replay
     --table application-review-dev-event-store
     --subscription 
  arn:aws:sns:us-east-2:403888327586:application-review-dev-events.fifo:a975ba5a-14ba-48c5-ac23-d0a6009c5882

event-store-toolbox help [COMMAND]

display help for event-store-toolbox

USAGE
  $ event-store-toolbox help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

event-store-toolbox replay [FILE]

replay domain events from DynamoDB

USAGE
  $ event-store-toolbox replay [FILE]

OPTIONS
  -T, --topic=topic                 SNS topic ARN to publish events to
  -h, --help                        show CLI help
  -r, --region=us-east-2|us-east-1  [default: us-east-2] AWS region of resources
  -s, --subscription=subscription   ARN of the SNS subscription to target
  -t, --table=table                 DynamoDB table name to read events from

EXAMPLES
  $ event-store-toolbox replay
     --table application-review-dev-event-store
     --topic arn:aws:sns:us-east-2:403888327586:application-review-dev-events.fifo
  
  $ event-store-toolbox replay
     --table application-review-dev-event-store
     --subscription 
  arn:aws:sns:us-east-2:403888327586:application-review-dev-events.fifo:a975ba5a-14ba-48c5-ac23-d0a6009c5882