config/auto-completers/complete.docker.ps1


if (Test-Command docker) {
    WriteDebug "Found 'docker', registering completer."

    Import-Module DockerCompletion
    if (-not $?) {
        Write-MyProWarning "Found 'docker' but not 'DockerCompletion' module; installing."
        Install-Module DockerCompletion -Scope CurrentUser
        Import-Module DockerCompletion
    }
}