-
Notifications
You must be signed in to change notification settings - Fork 180
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
Define human output for oras discover
#255
Comments
@SteveLasker It is getting more and more like https://docs.microsoft.com/en-us/cli/azure/format-output-azure-cli. |
Is that a bad thing? :) |
@SteveLasker How about this? (commit 6f764bf)
|
Closing as #258 and the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The new
oci.artifact.manifest
support add discover, to find the list of referenced artifacts.The question is what should the default, human, output be:
Today:
-v
output--output-json
outputThe
--output-json
looks good, as it matches the/references
APIBut, what should the default output be?
Seems we need:
--artifact-reference
Proposal:
Discover references to:
reference
digest
localhost:5000/hello-world:latest
sha256:1b26826f602946860c279fce658f31050cff2c596583af237d971f4629b57792
Discovered 2 references:
aritfactType
digest
application/vnd.cncf.notary.v2
sha256:f4232599e2d5246ec1f4dc419bacd5510a02c2f0e3c98b800f38c8cbbd61550d
application/x.example.sbom.v0
sha256:fa31146981940964ced259bd2edd36c10277207e3be4d161bdb96e5e418fc2e0
The text was updated successfully, but these errors were encountered: