Closed sanpii closed 9 years ago
Not sure this should not be handled by a Command
in the bundle. We have to see how we can interface the existing Cli package with the bundle.
@chanmix51 good idea :smiley:
That works fine: https://github.com/sanpii/pomm-bundle/commit/980257ddd07f42da69f674550019f2476a8da4b0
Except, I would have preferred the commands begin with pomm:
generate
generate:entity Generate an Entity class.
generate:model Generate a new model file.
generate:relation-all Generate structure, model and entity file for a given relation.
generate:schema-all Generate structure, model and entity file for all relations in a schema.
generate:structure Generate a RowStructure file based on table schema.
inspect
inspect:database Show schemas in the current database.
inspect:relation Display a relation information.
inspect:schema Show relations in a given schema.
Can we have something like pomm:generate:schema-all
?
What if we add the pomm prefix in the Cli package ?
Waiting for pomm-project/Cli#4
Done in ab817d0
For the pomm-project/cli tool.