Description
As a user, I need a way to dynamically inject download behaviors that determine how to actually interpret downloaded blob data (e.g. for writing into a filesystem)
For this we should create an ADR that aligns with #523 understanding and we should propose a simple concept of how to register and work with those download handlers so that they can be integrated in the CLI.
The handlers should:
- Take in a
blob.ReadOnlyBlob
- Take in a
Specification, any typed object we can switch behavior on
- Return a Report that can be interpreted and output by the CLI
- Process the Specification, e.g. by writing the blob to the filesystem by interpreting it via the media type.
Done Criteria
Description
As a user, I need a way to dynamically inject download behaviors that determine how to actually interpret downloaded blob data (e.g. for writing into a filesystem)
For this we should create an ADR that aligns with #523 understanding and we should propose a simple concept of how to register and work with those download handlers so that they can be integrated in the CLI.
The handlers should:
blob.ReadOnlyBlobSpecification, any typed object we can switch behavior onDone Criteria