#1654: generate-migrations-models - Making models_path optional
--------------------------+-------------------------------------------------
Reporter: deefour | Owner: jwage
Type: enhancement | Status: closed
Priority: minor | Milestone: 1.1.0
Component: Tasks | Version: 1.1-DEV
Resolution: fixed | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
--------------------------+-------------------------------------------------
Comment(by deefour):
Hi jonwage-
Can you let me know your thoughts on this a bit? I'd love to try to patch
this up with your vision in mind.
Maybe something like changing
{{{
./doctrine generate-yaml-models path/to/schema path/to/models
}}}
to
{{{
./doctrine generate-yaml-models --yaml-schema-path=path/to/schema
--models-path=path/to/models:2nd/path/to/models
}}}
And perhaps if you'd like the explicit arguments to be optional, they can
take precedence? ie.
{{{
./doctrine generate-yaml-models path/to/schema --yaml-schema-
path=other/path/to/schema
}}}
This would set the yaml_schema_path argument to `other/path/to/schema`,
overriding the implicit `path/to/schema` argument. I'm not sure it would
be best to mix implicit and explicit arguments though like this.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1654#comment:5>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---