Why not pipe the pub key output to the clipboard like you did the private key?