Delete branch-based ressource

Hi

After creating a branch-based ressource after a tx push -s -b command, how can you delete automatically the created ressource once the branch has been merged into master ?

It would be great to be able to do tx remove -s -b for example.

I want to do that because I want to reduce the words count of my plan.

Thx