-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add option to output to file #91
Comments
Can you explain why piping is problematic? I don't see any good reason this would be a problem... |
We want to run it as a DotNetCoreCLI@2 task in Azure DevOps Pipelines. I had no luck adding a pipe to file to that command (perhaps due to how it is executed or what OS it is being run on) |
You could also use https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/powershell-v2?view=azure-pipelines to be platform independent... |
Just to explain why I'm not too fond of adding file output to nuget-license:
The TLDR is that adding file output could add quite some complexity to nuget-license which seems a little out of scope given that there is the possibility of piping.... |
I did try both cmd and PowerShell. I could not get it to work but that could be just me not doing it correctly. I understand if you do not want to add file output, I will just give my "end user" reason to why I would like it. Do not take this as anything other then a suggestion (and feel free to ignore it, it is not like I am paying you or anything :)
|
I'll see what I can do. If you want to speed up the process of getting this feature, feel free to implement it yourself and create a Pull Request. |
Definitely would like to see this too; we have to work on PS and bash and it's just going to be easier and more complete to have a |
I would be good to be able to generate a file as an option. A .txt or .json depending on format. Piping the result is problematic on our build server
The text was updated successfully, but these errors were encountered: