Add PSReadLine module files

These are copied from `src/Microsoft.PowerShell.PSReadLine`, which is
necessary until .NET CLI has better support for specifying
source/destination content information (which is coming soon).
This commit is contained in:
Andrew Schwartzmeyer committed 2016-04-27 12:04:43 -07:00
1 parent 1f56fd6692
commit ef2092774c
2 files changed
+22

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
@{
RootModule = 'PSReadLine.psm1'
NestedModules = @("Microsoft.PowerShell.PSReadLine.dll")
ModuleVersion = '1.2'
GUID = '5714753b-2afd-4492-a5fd-01d9e2cff8b5'
Author = 'Microsoft Corporation'
CompanyName = 'Microsoft Corporation'
Copyright = '(c) Microsoft Corporation. All rights reserved.'
Description = 'Great command line editing in the PowerShell console host'
PowerShellVersion = '3.0'
DotNetFrameworkVersion = '4.0'
CLRVersion = '4.0'
FunctionsToExport = 'PSConsoleHostReadline'
CmdletsToExport = 'Get-PSReadlineKeyHandler','Set-PSReadlineKeyHandler','Remove-PSReadlineKeyHandler',
'Get-PSReadlineOption','Set-PSReadlineOption'
HelpInfoURI = 'http://go.microsoft.com/fwlink/?LinkId=528806'
}
+5
View File
@@ -0,0 +1,5 @@
function PSConsoleHostReadline
{
Microsoft.PowerShell.Core\Set-StrictMode -Off
[Microsoft.PowerShell.PSConsoleReadLine]::ReadLine($host.Runspace, $ExecutionContext)
}