You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new application from the skeleton app, users are prompted with regards to the preferred directory structure they want for the "App" module. They can choose from no modules created, to the default of using a "flat" structure (creates src/App/, and puts only PHP class files in it) or the "recommended" structure (creates src/App/ with additional src and templates directories beneath it; class files are under src/App/src/).
Currently, the "module:create" command creates a "recommended" module structure:
Feature Request
Summary
When creating a new application from the skeleton app, users are prompted with regards to the preferred directory structure they want for the "App" module. They can choose from no modules created, to the default of using a "flat" structure (creates
src/App/
, and puts only PHP class files in it) or the "recommended" structure (createssrc/App/
with additionalsrc
andtemplates
directories beneath it; class files are undersrc/App/src/
).Currently, the "module:create" command creates a "recommended" module structure:
Considering the skeleton offers a "flat" structure as well, I recommend we add an option to the
module:create
command to create a "flat" module:When doing so, the
ConfigProvider
should omit the "templates" configuration.I recommend the option name
--flat
for this.The text was updated successfully, but these errors were encountered: