oras-project/oras

All oras commands should use handlers to display command output

Closed this issue · 5 comments

Commands that need handler improvement:

Why oras manifest push is excluded?

Why oras manifest push is excluded?

I wasn't sure if that one needs refactoring. We can add it to this issue.

If I understand correctly, the goal of this issue is to make all oras commands use handlers to display command output, which means print utilities should not be directly called in command code. In this way, you can search for usages of print utilities in files within $REPO/cmd/oras/root and include all found commands there. E.g. oras manifest push and oras blob push calls PrintStatus and should be included.

#1485 might help set the tone for generalizing handlers between text and ttty

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.