Integrates clear command on the cli.