-
Notifications
You must be signed in to change notification settings - Fork 10
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
CLI to output structured data, JSON, TOML or YAML #527
Comments
Hey @jayvdb , Exposing different output formats from our CLI has definitely been on our radar for a little while now but we backburnered it while no one was asking for it. Thank you for putting in the request! It needs some thinking about which we'll do and we'll report back when we have something. Thanks for specifying you'd be interesting in TOML or YAML. That being said, we suggest there might be an oversight in your rationale for why you don't want Generate-License-File to be listed in your package.json. While it's not a primary dependency of your application, CVEs can still be catastrophic even when they're constrained to CI/CD pipelines or developer machines. If there's a CVE in a tool you're using (no matter if you're pnpm dlx-ing it or not), we'd suggest you'd probably want to be made aware of it so that you can assess the risks. Even if the CLI in our package supports all your needs, we'd still suggest you list it in a way that it can be audited. If you're finding that there are CVEs in our dependencies, please open issues for them so that we can address them. |
Glad to hear this request is being considered. We are well aware of the problems of using To justify this request a bit more in light of what you've explained, we want the ability to use Thankfully there are no current problems in the dependencies of |
How are you using generate-license-file?
Library
Is your feature request related to a problem? Please describe.
We only use this tool as a library because we want to emit the data in a structured format. When we present this data, we add a bit of styling to it.
Describe the solution you'd like
A new CLI output format. My preference would be TOML or YAML as we commit this file to our repository, but JSON would also be acceptable.
Additional context
I would like to switch to the CLI, so that we can use
pnpm dlx ..
, and therefore not havegenerate-license-file
and its deps in our lock file, so we dont get hit by CVEs in these dependencies that are unable to impact our users as the tool is used to generate an audited data file.The text was updated successfully, but these errors were encountered: