fix(cli): improve prune
command ux (backport #16856)
#16876
Merged
prune
command ux (backport #16856)
#16876