A gem that generate boilerplates when creating new domain services
$ gem install domain-generator
gem 'domain-generator', '~> 0.1.0'
$ gem build domain-generator.gemspec
$ rails generate domain [DOMAIN_NAME] [options]
--include-dry
| --no-include-dry
--repo
| --no-repo
--app-service
--service
--model
app/domain
└── pet_management
├── app_services
│ └── register_dog.rb
├── infrastructures
│ └── repos
│ └── dog.rb
└── services
├── models
│ └── dog.rb
└── validate_dog.rb
spec/domain
└── pet_management
├── app_services
│ └── register_dog_spec.rb
├── infrastructures
│ └── repos
│ └── dog_spec.rb
└── services
├── models
│ └── dog_spec.rb
└── validate_dog_spec.rb
test/factories
└── Dog.rb