We need a predefined way to specify and add variables to the module, while also defined which are public (to be exported) and who are private.
Alternative 1
Some thoughts on how to add this:
variables
private
public
If so, we should replicate for functions:
functions
private
public
What do we do with data? Keep it or remove it?
Alternative 2
Keep the folder structure for private and public directly on source, but allow a variables.ps1 file to be defined, or find the files containing variables by using AST to find them.
private
variables.ps1
public
variables.ps1
Alternative 3
have the private and public folders as is, but have subfolders for variables and functions, allows for a scaleable structure for classes and other items that might come later, but so does alternative 1.
Description
We need a predefined way to specify and add variables to the module, while also defined which are public (to be exported) and who are private.
Alternative 1
Some thoughts on how to add this:
If so, we should replicate for functions:
What do we do with data? Keep it or remove it?
Alternative 2
Keep the folder structure for
private
andpublic
directly on source, but allow a variables.ps1 file to be defined, or find the files containing variables by using AST to find them.Alternative 3
have the private and public folders as is, but have subfolders for variables and functions, allows for a scaleable structure for classes and other items that might come later, but so does alternative 1.