cli: check message command addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>