I hereby claim:
- I am morten242 on github.
- I am morten242 (https://keybase.io/morten242) on keybase.
- I have a public key ASAqj3yQuNpV_Jt3sEC1Xda4ScLrnwzRGdTC3Bvrn2oJawo
To claim this, I am signing this object:
$ninjaCompleteBlock = { | |
param($wordToComplete, $commandAst, $cursorPosition) | |
$toComplete = [Regex]::Escape($wordToComplete) | |
Select-String .\build.ninja -pattern "^build ($toComplete[\w-]*[\\/]?)[\w-]*:" | |
| ForEach-Object { $_.Matches.Groups[1].Value.Trim() } | |
| Sort-Object -CaseSensitive | |
} | |
Register-ArgumentCompleter -CommandName ninja -Native -ScriptBlock $ninjaCompleteBlock |
I hereby claim:
To claim this, I am signing this object:
Param ( | |
[ValidateSet('amd64', 'x86', 'x64', 'x86_amd64', 'x86_arm', 'x86_arm64', 'amd64_x86', 'amd64_arm', 'amd64_arm64')] | |
[Parameter(Mandatory = $false, Position = 1)] | |
[string]$Arch = "x64", | |
[ValidateSet('', 'UWP', 'Store')] | |
[Parameter(Mandatory = $false, Position = 2)] | |
[string]$Type = "", | |
[Parameter(Mandatory = $false, Position = 3)] |