Implement basic CLI tasks.