feat: Support listing packages and their licenses via `packages check licenses`
Description
Instead of just proving a simple output (Retrieved 10 licenses from 10 packages of type: MIT (10)), optionally allow users to list all licenses in a simple format.
e.g. very_good_cli package check licenses --list
And return something like:
Retrieved 1 licenses from 1 packages of type: MIT (1). (0.4s)
very_good_cli - MIT
Or a CSV-like format:
Retrieved 1 licenses from 1 packages of type: MIT (1). (0.4s)
very_good_cli,MIT
Requirements
- [ ] Allow to lit all analysed packages.
- [ ] All CI/CD checks are passing.
- [ ] There is no drop in the test coverage percentage.
Additional Context
No response
Thanks @IchordeDionysos for opening this issue. I think it would be very nice if we enhance the reporting.
I was thinking having a reporter argument, so that other formats can be supported. For example:
very_good packages check licenses --reporter markdown
very_good packages check licenses --reporter csv
Would this be something you would like to work on? Let me know and I can assign it to you!
I would like to work on this issue
I would like to work on this issue
Hi @AmanSikarwar , thanks for your interest on contributing! Were you able to start working on it? Thanks!