The command flexmodel:generate is only usable in some kind of 'default' Symfony setup. In order to make it more flexible I think the following should be done: - Make the parameter objectNamespace in [Command/GenerateMappingCommand.php#L44](https://github.com/FlexModel/FlexModelBundle/blob/086749097eb481985a58c77565d9e8899da550e8/Command/GenerateMappingCommand.php#L44) configurable - Make the bundle name in [Command/GenerateMappingCommand.php#L47](https://github.com/FlexModel/FlexModelBundle/blob/086749097eb481985a58c77565d9e8899da550e8/Command/GenerateMappingCommand.php#L47) configurable - Make the ormMappingDirectory in [Command/GenerateMappingCommand.php#L49](https://github.com/FlexModel/FlexModelBundle/blob/086749097eb481985a58c77565d9e8899da550e8/Command/GenerateMappingCommand.php#L49) configurable There are 2 solutions: 1. Make the values configurable in the app config (app/config/config.yml) 2. Make the values configurable as argument/option of the command Which is prefered and do you have a proposal for the naming?
The command flexmodel:generate is only usable in some kind of 'default' Symfony setup.
In order to make it more flexible I think the following should be done:
There are 2 solutions:
Which is prefered and do you have a proposal for the naming?