[PATCH v2 09/14] cli/reply: use dedicated functions for reply to mapping