Open
Description
What about a new target
option for each command that allows us to change the target directory where the final skeleton file is generated?
For example make:unit-test FooTest
always creates the file class inside tests/
directory, but as the best practice recommends:
By convention, the
tests/
directory should replicate the directory of your bundle for unit tests. So, if you're testing a class in thesrc/Util/
directory, put the test in thetests/Util/
directory.
Something like this make:functional-test FooTest --target=tests/Util
will be great to not move each generated file to the corresponding directory and change its namespace.