list functionality in cli