Skip to content

Commit

Permalink
Generate Microsoft.WinGet.Client help docs in cmdlet output (#4731)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft authored Aug 19, 2024
1 parent 095b221 commit 266a08f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,16 @@ jobs:
Contents: '**\*'
TargetFolder: '$(Build.ArtifactStagingDirectory)'

- task: PowerShell@2
displayName: Generate Microsoft.WinGet.Client Help Documentation
inputs:
pwsh: true
targetType: inline
script: |
Install-Module -Name platyPS -Force
Import-Module platyPS
New-ExternalHelp -Path '$(Build.SourcesDirectory)\src\PowerShell\Help\Microsoft.WinGet.Client' -OutputPath '$(Build.ArtifactStagingDirectory)\Microsoft.WinGet.Client'
- task: CopyFiles@2
displayName: 'Copy Microsoft.WinGet.DSC module to staging directory'
inputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ This command support the following administrative settings:
- InstallerHashOverride
- LocalArchiveMalwareScanOverride
- ProxyCommandLineOptions
- DefaultProxy

Administrative settings are disabled by default. Administrative settings can also be managed using
Group Policy objects.
Expand Down

0 comments on commit 266a08f

Please sign in to comment.