add clear all method to cli interface