notaryproject / notation

A CLI tool to sign and verify artifacts
https://notaryproject.dev/
Apache License 2.0
346 stars 84 forks source link

Improve the output for notation plugin #644

Open FeynmanZhou opened 1 year ago

FeynmanZhou commented 1 year ago

What is the areas you would like to add the new feature to?

Notation CLI

Is your feature request related to a problem?

The CAPABILITIES's value [SIGNATURE_GENERATOR.RAW] is not user-friendly from the output of the command notation plugin ls as follows. We need to refine the description.

 notation plugin ls
NAME       DESCRIPTION                                   VERSION   CAPABILITIES                ERROR
azure-kv   Sign artifacts with keys in Azure Key Vault   0.6.0     [SIGNATURE_GENERATOR.RAW]   <nil>

What solution do you propose?

According to the plugin Spec, plugin capability contains four valid values. Revise these capability values to readable information as below would be straightforward for users to understand.

What alternatives have you considered?

N/A

Any additional context?

No response

FeynmanZhou commented 17 hours ago

We will revisit the output of notation plugin ls and provide a spec to define the desired output.