A lightweight tool to report on the licenses used by a Go package and its dependencies. Highlight! Versioned external URL to licenses can be found at the same time.
I would use the flag when running check, because all deps must be allowed.
I thought about putting this section after those of the flags (e.g., --disallowed_types), but I feel that go-licenses check --include_tests github.com/your-org/your-repo/... is potentially a template command that suits most use cases (i.e., users only need to replace the placeholders to make the command work for them), so I put it right after the intro of check. No strong opinion though.
Summary
PR fixes https://github.com/google/go-licenses/pull/160#discussion_r1002744147.
Notes
The usage of
**Tip**
comes from https://github.com/google/go-licenses/blob/6073243b8a005f776321958637a2d1e796e05ce5/README.md?plain=1#L86--include_test
is also added because that's the very reason why I created #160, and https://github.com/google/go-licenses/pull/160#discussion_r1002734812 also mentions:I thought about putting this section after those of the flags (e.g.,
--disallowed_types
), but I feel thatgo-licenses check --include_tests github.com/your-org/your-repo/...
is potentially a template command that suits most use cases (i.e., users only need to replace the placeholders to make the command work for them), so I put it right after the intro ofcheck
. No strong opinion though.