generate client code inside of nimoy