Move cli to rejoice. Closes #2038