Skip to content

CLI to output structured data, JSON, TOML or YAML #527

@jayvdb

Description

@jayvdb

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 have generate-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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions