feat: support --format
for oras pull
#1293
83.11% of diff hit (target 80.00%)
View this Pull Request on Codecov
83.11% of diff hit (target 80.00%)
Annotations
Check warning on line 80 in cmd/oras/internal/display/handler.go
codecov / codecov/patch
cmd/oras/internal/display/handler.go#L80
Added line #L80 was not covered by tests
Check warning on line 42 in cmd/oras/internal/display/metadata/model/pull.go
codecov / codecov/patch
cmd/oras/internal/display/metadata/model/pull.go#L41-L42
Added lines #L41 - L42 were not covered by tests
Check warning on line 77 in cmd/oras/internal/display/status/discard.go
codecov / codecov/patch
cmd/oras/internal/display/status/discard.go#L76-L77
Added lines #L76 - L77 were not covered by tests
Check warning on line 109 in cmd/oras/internal/display/status/tty.go
codecov / codecov/patch
cmd/oras/internal/display/status/tty.go#L105-L109
Added lines #L105 - L109 were not covered by tests
Check warning on line 129 in cmd/oras/internal/display/status/tty.go
codecov / codecov/patch
cmd/oras/internal/display/status/tty.go#L128-L129
Added lines #L128 - L129 were not covered by tests
Check warning on line 134 in cmd/oras/internal/display/status/tty.go
codecov / codecov/patch
cmd/oras/internal/display/status/tty.go#L133-L134
Added lines #L133 - L134 were not covered by tests
Check warning on line 139 in cmd/oras/internal/display/status/tty.go
codecov / codecov/patch
cmd/oras/internal/display/status/tty.go#L138-L139
Added lines #L138 - L139 were not covered by tests
Check warning on line 158 in cmd/oras/root/pull.go
codecov / codecov/patch
cmd/oras/root/pull.go#L158
Added line #L158 was not covered by tests
Check warning on line 163 in cmd/oras/root/pull.go
codecov / codecov/patch
cmd/oras/root/pull.go#L163
Added line #L163 was not covered by tests
Check warning on line 177 in cmd/oras/root/pull.go
codecov / codecov/patch
cmd/oras/root/pull.go#L177
Added line #L177 was not covered by tests