Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scancode_license_tui: printing as a new feature #11

Open
LeChasseur opened this issue Jul 12, 2024 · 2 comments
Open

scancode_license_tui: printing as a new feature #11

LeChasseur opened this issue Jul 12, 2024 · 2 comments

Comments

@LeChasseur
Copy link

Mr. Wald and I would be enlightened to have a new functionality that allows us to print the output of scancode_license_tui into a .pdf file.

@armijnhemel
Copy link
Owner

Could you provide a little bit more information what you would like to see? For the pretty printing script (not the TUI) it would not be too hard, but it depends on what you want as output. Currently Rich (the library I use) does not support PDF, but I could use an existing PDF library for Python.

I could for example imagine a PDF with a table per file per page (or multiple).

@LeChasseur
Copy link
Author

I think the output should be equivalent to what the terminal shows as the results from the script (black on white). This would allow to decide at the level of the script which information to include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants