Skip to content
Snippets Groups Projects
Dean Lovett's avatar
Dean Lovett authored
fix: add a newline and an instantiator to generators

Closes #1

See merge request !1
6a87ef49
History

Cqrs::Core

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/cqrs/core. To experiment with that code, run bin/console for an interactive prompt.

TODO: Delete this and the text above, and describe your gem

Installation

Add this line to your application's Gemfile:

gem 'nexus_cqrs'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install nexus_cqrs

Usage

Generators can be used to aide in the creation of Commands and Queries:

rails g nexus_cqrs:command CommandName
rails g nexus_cqrs:query QueryName

Once installed, a CommandBus is required to control the flow of Commands and/or Queries:

Development

To contribute to this gem, simple pull the repository, run bundle install and run tests:

    bundle exec rspec
    bundle exec rubocop