File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed
shell/AIShell.Integration Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ function Start-Build
7575 $out_dir = Join-Path $PSScriptRoot " out"
7676 $app_out_dir = Join-Path $out_dir $config " app"
7777 $module_out_dir = Join-Path $out_dir $config " module" " AIShell"
78- $module_help_dir = Join-Path $PSScriptRoot " docs" " cmdlets"
7978
8079 $openai_out_dir = Join-Path $app_out_dir " agents" " AIShell.OpenAI.Agent"
8180 $az_out_dir = Join-Path $app_out_dir " agents" " AIShell.Azure.Agent"
@@ -144,24 +143,6 @@ function Start-Build
144143 $moduleManifest = $moduleManifest -replace " ModuleVersion = '.*'" , " ModuleVersion = '$version '"
145144 $moduleManifest = $moduleManifest -replace " }" , " ${privateData} `n }`n "
146145 Set-Content - Path $module_out_dir / AIShell.psd1 - Value $moduleManifest - NoNewline
147-
148- $installHelp = $false
149- if (Get-Module - Name PlatyPS - ListAvailable) {
150- $installHelp = $true
151- } else {
152- Write-Host " `n The 'PlatyPS' module is not installed. Installing for creating in-shell help ..." - ForegroundColor Green
153- Install-Module - Name platyPS - RequiredVersion 0.14 .2 - Repository PSGallery - Force - Verbose:$false
154- if ($? ) {
155- $installHelp = $true
156- } else {
157- Write-Host " `n Failed to install the 'PlatyPS' module. In-shell help for the 'AIShell' module will not be created." - ForegroundColor Red
158- }
159- }
160-
161- if ($installHelp ) {
162- $null = New-ExternalHelp - Path $module_help_dir - OutputPath $module_out_dir - Force
163- Write-Host " In-shell help for the 'AIShell' module has been created." - ForegroundColor Green
164- }
165146 }
166147
167148 if ($LASTEXITCODE -eq 0 ) {
Original file line number Diff line number Diff line change 1212 CmdletsToExport = @ (' Start-AIShell' , ' Invoke-AIShell' , ' Resolve-Error' )
1313 VariablesToExport = ' *'
1414 AliasesToExport = @ (' aish' , ' askai' , ' fixit' )
15+ HelpInfoURI = ' https://aka.ms/aishell-help'
1516}
You can’t perform that action at this time.
0 commit comments