add diagram for cli client control flow