...

Text file src/github.com/bazelbuild/buildtools/unused_deps/README.md

Documentation: github.com/bazelbuild/buildtools/unused_deps

     1# Unused Deps
     2
     3unused_deps is a command line tool to determine any unused dependencies
     4in [java_library](https://docs.bazel.build/versions/master/be/java.html#java_library)
     5rules. targets.  It outputs `buildozer` commands to apply the suggested
     6prunings.
     7
     8## Installation
     9
    10Build a binary and put it into your $GOPATH/bin:
    11
    12```bash
    13go install github.com/bazelbuild/buildtools/unused_deps@latest
    14```
    15
    16## Usage
    17
    18```shell
    19unused_deps TARGET...
    20```
    21
    22Here, `TARGET` is a space-separated list of Bazel labels, with support for `:all` and `...`

View as plain text