Public/Nuget/Paket/Find-PaketRefs.ps1


function Find-PaketRefs {
    [CmdletBinding()]
    [CmdLetTag(("#nuget","#paket"))]
    param (
        [string]$Id,
        [switch]$Force,
        [string]$Path = "."
    )
    
    begin {
        
    }
    
    process {
        $paketExe=(Get-PaketDependenciesPath -Strict)
        if ($paketExe){
            $xtraArgs = @();
            if ($Force) {
                $xtraArgs = "--Force"
            }
            invoke-script {dotnet paket find-refs $Id @xtraArgs}
        }
    }
    
    end {
        
    }
}