Say I create an SFDX project with
it creates a directory structure, including a folder structure to hold all the development metadata:
Now, when I'm pulling metadata from an org (scratch or sandbox) directly into the project using CLI, it does a handy job of sorting the metadata categories into folders. Within the
default folder, it will create an
classes folder, etc, all automatically.
HOWEVER, when I use CLI to create metadata directly inside my project, like say an apex class, I need to specify the destination directory.
I'm wondering... is it important that I know the automatically created folder structure for my metadata components when it comes to deploying my project? Can I just stick all my files in main without worrying about category folders? Is there a way to generate the desired folder structure for my project at the time of creating the apex class, without manually creating the
classes folder myself?