refactor: add metadata render interface and apply it to oras attach
command
#1578
+59
−23
Loading