implement basic CLI commands