geekcell / ddd-symfony-bundle

A bundle for pragmatic domain driven design in Symfony.
https://www.geekcell.io
MIT License
7 stars 1 forks source link

Add a "base path" option for Maker commands. #40

Closed b00gizm closed 1 year ago

b00gizm commented 1 year ago

By default, when generating classes with the included Maker commands, we're storing then under src. It would be great to add an option to set something like a "base path", such as

bin/console make:ddd:model --aggregate-root --basePath=src/Foo

which then would generate a model and related classes below src/Foo/Model.

janvt commented 1 year ago

Resolved by https://github.com/geekcell/ddd-symfony-bundle/pull/41