very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

feat: Support listing packages and their licenses via `packages check licenses`

Open IchordeDionysos opened this issue 8 months ago • 3 comments

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

IchordeDionysos avatar May 07 '25 20:05 IchordeDionysos

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!

alestiago avatar May 08 '25 21:05 alestiago

I would like to work on this issue

AmanSikarwar avatar Oct 01 '25 15:10 AmanSikarwar

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!

omartinma avatar Oct 24 '25 14:10 omartinma