(I'm still not a fan of adding more client-side tools whose sole task is
to execute server-side functionality in a slightly filtered way, but it
seems people are really interested in this, so ...)
I want to register, if we are going to add this, it ought to be in
src/bin/. If we think it's a useful tool, it should be there with all
the other useful tools.
I realize there is a dependency on a module in contrib, and it's
probably now not the time to re-debate reorganizing contrib. But if we
ever get to that, this program should be the prime example why the
current organization is problematic, and we should be prepared to make
the necessary moves then.