Would it be worth including bits on organizing files and general structure for modules? For example:
- Do functions get their own files? If so, how to name these files? If mixed, when to separate these into individual files? My take: Regardless of lines of code, I prefer to separate every function into it's own file
- Is there a preferred / 'best practice' for organization? For example:
- Repository Root
- Tests
- ModuleName
- ModuleName.psd1
- ModuleName.psm1
- \Public - Public functions in here (or at root?)
- \Private - Private functions in here
- \lib - Optional folder for libraries
- \bin - Optional folder for binaries
I could see this spiraling out of control, and most (or all) of it would be subjective, so might not be appropriate here.
Cheers!
Would it be worth including bits on organizing files and general structure for modules? For example:
I could see this spiraling out of control, and most (or all) of it would be subjective, so might not be appropriate here.
Cheers!