astorm / pestle

A collection of command line scripts for Magento 2 code generation, and a PHP module system for organizing command line scripts.
MIT License
533 stars 101 forks source link

Generate Code in New Path #499

Closed astorm closed 5 years ago

astorm commented 5 years ago

In this issue we want to have commands generate code in the local composer module.

In theroy, this should be as simple as changing the getBaseGeneratePath to reference the path configuration from #498 when generation a path. It may be more complicated than that.

We should also make sure that the output makes it clear where the files are being generated, and that we're using the local composer module.

Also I just saw we have a getModuleInformation function -- that returns a module's path -- that will probably need to change too.