cli output works