don't split on : or = in restore command parse
This commit is contained in:
parent
c176b5953f
commit
1ed5b420a9
10 changed files with 80 additions and 55 deletions
|
@ -1,7 +1,7 @@
|
|||
# PowerShell parameter completion shim for the dotnet CLI
|
||||
Register-ArgumentCompleter -Native -CommandName dotnet -ScriptBlock {
|
||||
param($commandName, $wordToComplete, $cursorPosition)
|
||||
dotnet.exe complete --position $cursorPosition "$wordToComplete" | ForEach-Object {
|
||||
C:\dev\github\cli\artifacts\win10-x64\stage2\dotnet.exe complete --position $cursorPosition "$wordToComplete" | ForEach-Object {
|
||||
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue