Specify *ToExport in module manifest
powercode opened this issue · comments
Staffan Gustafsson commented
Make sure
CmdletsToExport = @()
FunctionsToExport = @()
AliasesToExport = @()
all are specified in the module manifest. Having them empty or as '*' makes forces powershell to load the module when it tries to discover other commands.
This also allows us to not contaminate the global namespace with helper functions.