add a list command to cm