added more functionality to the cli