Skip to content

Add RootModule name to manifest - #2

Open
COV-Steve wants to merge 1 commit into
FOLIO-FSE:mainfrom
COV-Steve:main
Open

Add RootModule name to manifest#2
COV-Steve wants to merge 1 commit into
FOLIO-FSE:mainfrom
COV-Steve:main

Conversation

@COV-Steve

Copy link
Copy Markdown

When importing the FolioClient module into my PowerShell session, the commands were not exported.

PS> Import-Module FolioClient
PS> Get-Module -Name FolioClient

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Manifest   0.0.3                 FolioClient

Information I found online pointed to needing to fill in the RootModule name in the manifest, which I found to be commented out and empty in the current version.

Following that minor edit, importing the module successfully loaded the commands.

PS> Import-Module FolioClient
PS> Get-Module -Name FolioClient

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     0.0.3                 FolioClient                         {Get-FolioClient, Get-FolioRecordIdsByQuery, Get-…

Fix issue where commands where not being exported upon importing the module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant