Paket


paket find-refs

Find all project files that have a dependency installed.

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
paket find-refs [--help] [--group <name>] <package ID>...

NUGETS:

    <package ID>...       list of NuGet package IDs

OPTIONS:

    --group, -g <name>    specify dependency group (default: Main group)
    --silent, -s          suppress console output
    --verbose, -v         print detailed information to the console
    --log-file <path>     print output to a file
    --from-bootstrapper   call coming from the '--run' feature of the bootstrapper
    --help                display this list of options.

If you add the --verbose flag Paket will run in verbose mode and show detailed information.

With --log-file [path] you can trace the logged information into a file.

Example

  • src/Paket/paket.references contains:
1: 
2: 
UnionArgParser
FSharp.Core
  • src/Paket.Core/paket.references contains:
1: 
2: 
3: 
Newtonsoft.Json
DotNetZip
FSharp.Core

Now we run:

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
$ paket find-refs DotNetZip FSharp.Core
Paket version 5.0.0
Main DotNetZip
src/Paket.Core/Paket.Core.fsproj

Main FSharp.Core
src/Paket.Core/Paket.Core.fsproj
src/Paket/Paket.fsproj

Performance:
 - Runtime: 1 second
Fork me on GitHub