Skip to content

BC: providers are subcommands #586

Closed

Description

@jkowalleck

as all the providers might bring own CLI options and CLI switches:
each provider should be an individual subcommand.

example:

$ cyclonedx-py environment <undecided>
$ cyclonedx-py poetry -i poetry.lock
$ cyclonedx-py pipenv -i Pipfile.lock
$ cyclonedx-py requirements -i requirements.txt requirements-dev.txt 
$ cyclonedx-py conda <undecided>

common params for all subcommands are

  • -o --output-file FILE_PATH Output file path for your SBOM (set to '-' to output to STDOUT)
  • --output-format {json,xml} The output format for your SBOM (default: xml)
  • --output-schema-version {1.4,1.3,1.2,1.1,1.0} The CycloneDX schema version for your SBOM (default: 1.4)

Activity

  1. added this to the 4.0.0 milestone on Sep 12, 2023
  2. self-assigned this
    on Sep 12, 2023
  3. jkowalleck commented on Dec 25, 2023

    @jkowalleck
    MemberAuthor

    fixed by #605

  4. jkowalleck commented on Dec 25, 2023

    @jkowalleck
    MemberAuthor

    This feature will be part of the next/upcoming major release.
    Changelog: see #605
    Install via: pip install cyclonedx-bom==4.0.0rc1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

breaking changeenhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions