Right now when you use a command such as yo plugin-wp:include <include-name> you end up with a class-<prefix>-<thing).php file in the includes/class...php folder. It would be nicer to create a folder when this happens:
includes/
<component>/
class-<prefix>-<thing>.php
This would allow us to create other sub-classes under a 'component' folder w/out having to do some funky changes to make that possible. This way I can easily create another includes folder in the 'component' folder, which can contain other classes, files, etc that I can include separately.
includes/
<component>/
class-<prefix>-<component>.php
includes/
class-<prefix>-<component>-another-thing.php
template-tag.php
extras.php
Would also like to get some feedback before I attempt this.
Right now when you use a command such as
yo plugin-wp:include <include-name>you end up with aclass-<prefix>-<thing).phpfile in theincludes/class...phpfolder. It would be nicer to create a folder when this happens:This would allow us to create other sub-classes under a 'component' folder w/out having to do some funky changes to make that possible. This way I can easily create another
includesfolder in the 'component' folder, which can contain other classes, files, etc that I can include separately.Would also like to get some feedback before I attempt this.