oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.44k stars 174 forks source link

feat: improve error message of when a set of flags is required to use together #1358

Closed wangxiaoxuan273 closed 5 months ago

wangxiaoxuan273 commented 5 months ago

What this PR does / why we need it: improve error message of when a set of flags is required to use together

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #1357

Please check the following list:

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.77%. Comparing base (639d4b7) to head (d116b37).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1358 +/- ## ========================================== + Coverage 84.71% 84.77% +0.05% ========================================== Files 104 104 Lines 3691 3704 +13 ========================================== + Hits 3127 3140 +13 Misses 336 336 Partials 228 228 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.