How come this isn't using the endpointsClientLibDirectory parameter to figure out the user-specified output directory? Are you defaulting to client-libs?