Internal/LibraryCompleter.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
$LibraryCompleter = {
    param (
        $commandName,
        $parameterName,
        $wordToComplete,
        $commandAst,
        $fakeBoundParameters
    )

    return Get-RLibrary | Select-Object -Unique
}

Set-Variable -Name LibraryCompleter -Value $LibraryCompleter -Visibility Public -Scope Script