Skip to content

Would organization of Modules be in scope? #22

@RamblingCookieMonster

Description

@RamblingCookieMonster

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
        • Integration
        • Unit
      • 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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions