Skip to content

Specify *ToExport in module manifest #557

@powercode

Description

@powercode

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions