cat_cli function

Function to transform message to output