OnCompleted should have no parameters as it only renders metadata output. We also need to make it an independent interface and make metadata handlers contain it.
The OnCompleted() function will be renamed as Render().
Affected command:
- oras attach (refactor done)
- oras pull (done)
- oras manifest push (done)
- oras manifest index
- oras discover (done)
OnCompletedshould have no parameters as it only renders metadata output. We also need to make it an independent interface and make metadata handlers contain it.The
OnCompleted()function will be renamed asRender().Affected command: