* status: new => closed
* resolution: => fixed
Comment:
Fixed in r5226. To handle this properly we need to enhance the command
line task system to handle arguments and options properly.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1654#comment:4>
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>