desktop: exitCliCommand implemented, TODO exception handling