Basic implementation of the CLI