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

AllowedLicenses as an argument instead a file #162

Open
Marusyk opened this issue Feb 26, 2025 · 1 comment
Open

AllowedLicenses as an argument instead a file #162

Marusyk opened this issue Feb 26, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Marusyk
Copy link

Marusyk commented Feb 26, 2025

It would be great to have possibility to pass AllowedLicenses as an argument

nuget-license -i . -a "Apache-2.0;MIT;MIT AND BSD-3-Clause;IDPL;BSD-2-Clause;BSD-3-Clause;MS-EULA"

instead of a file

nuget-license -i . -a allowed_licenses.json

file content:

["Apache-2.0", "MIT", "MIT AND BSD-3-Clause", "IDPL", "BSD-2-Clause", "BSD-3-Clause", "MS-EULA"]

What do you think?

@sensslen
Copy link
Owner

sensslen commented Mar 3, 2025

Hi @Marusyk this is not a planned feature. Feel free to work on a PR that implements this feature though.

I'm more than happy to review and provide feedback for any improvement.

If you plan to work on that. Can you please consider adding this feature to other list based parameters as well so that the usage of the tool stays as consistent as possible.

@sensslen sensslen added the enhancement New feature or request label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants