client-go: use the generated client library

@namn,

please, review this CL.

The command-line utility now uses the generated client library, but I have not changed any logic, except handling an error in one case.