An opinionated CLI tool for building event sourced systems with EventSourcery.
Generate a new event sourcery application:
$ eventsourcery new recipe_book
Generate a new aggregate, command and event:
$ eventsourcery generate:command recipe add
Generate a query and projection that subscribes to events:
$ eventsourcery generate:query active_recipes recipe_added
Generate a reactor that subscribes to events:
$ eventsourcery generate:reactor recipe_publisher recipe_added recipe_deleted
For more information, check out the event_sourcery
repository here:
https://github.com/envato/event_sourcery