google / go-licenses

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.
Apache License 2.0
833 stars 125 forks source link

add report subcommand with custom templates #141

Closed willnorris closed 2 years ago

willnorris commented 2 years ago

Fixes #140

Bobgy commented 2 years ago

Thank you for the great contribution!

Left some initial thoughts for discussion.

willnorris commented 2 years ago

Left some initial thoughts for discussion.

I'm not seeing them. Did they miss getting submitted?

Bobgy commented 2 years ago

Ohhh, forgot to send pending comments

willnorris commented 2 years ago

okay, please take a look. There is now a report subcommand that defaults to CSV output, and allows for a custom template to be specified. The csv subcommand still exists (and simply calls into the new report command), but is documented as deprecated.