config/config/auto-completers/complete.nuke.ps1
if (Test-Command nuke) { WriteDebug "Found 'nuke', registering completer." Register-ArgumentCompleter -Native -CommandName nuke -ScriptBlock { param($commandName, $wordToComplete, $cursorPosition) nuke ':complete' "$wordToComplete" | ForEach-Object { [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) } } } |