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

refactor: make command accessible in option parser #1315

Closed wangxiaoxuan273 closed 6 months ago

wangxiaoxuan273 commented 6 months ago

What this PR does / why we need it:

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 #1301

Please check the following list:

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 82.35%. Comparing base (c24ac15) to head (50b889a).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1315 +/- ## ========================================== + Coverage 82.30% 82.35% +0.04% ========================================== Files 83 83 Lines 4036 4036 ========================================== + Hits 3322 3324 +2 + Misses 494 492 -2 Partials 220 220 ```

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