cli callback to test