iricigor/InstallModuleFromGit

external help

iricigor opened this issue · 3 comments

  • implement external help for module
  • test it
  • mention in readme how to update help

Both of these commands work fine in both Windows and PowerShell Core

Get-Help Get-GitModule -Online
Get-Help Install-GitModule -Online

But, this one is working fine in Windows, but not in the PowerShell Core

Update-Help -Module InstallModuleFromGit -Verbose -Force

The error thrown is:

VERBOSE: Your connection has been redirected to the following URI: "https://github.com/iricigor/InstallModuleFromGit/raw/master/cab/"
VERBOSE: Performing the operation "Update-Help" on target "InstallModuleFromGit, Current Version: 0.0.0.0, Available Version: 1.0.0.0, UICulture: en-US".
Update-Help : Failed to update Help for the module(s) 'InstallModuleFromGit' with UI culture(s) {en-US} : Help content cannot be found. Make sure the server is available
and the help content location is properly defined in the HelpInfo XML.At line:1 char:1
+ Update-Help -Module InstallModuleFromGit -Verbose -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
+ FullyQualifiedErrorId : HelpContentNotFound,Microsoft.PowerShell.Commands.UpdateHelpCommand

Giving up of code changes for now. Related ticket PowerShell/PowerShell#9316

partially completed with #25