Introduce "cyclonedx rename-entity" command (bis)
Re-introduce it in a sense: this was posted earlier as PR #346 and still relies on https://github.com/CycloneDX/cyclonedx-dotnet-library/pull/245 for the bulk of work (BomEntity base-class and interface family, etc.) and https://github.com/CycloneDX/cyclonedx-dotnet-library/pull/256 for metadata update of the output document.
The earlier PR did not fail any formal tests (maybe should have added some, to ensure the contemporary library has the features exposed by it), so was prematurely merged and then reverted back by commit 91cf6c6635c2287224f4235ea19da7a44a0a8bed before cyclonedx-cli v0.26.0 release.
basically this is supposed to change a known bom-ref to another bom-ref?
I wrote this a tool cdx-enrich (will change the name to cdx-edit soon), I don't even use it myself yes, but this could be a good functionality for that tool as well. It can also take a list of operations, so if you plan to overwrite known bom-refs in a pipeline after creating a bom, this could work pretty good.
Thoughts?