[PATCH v2 13/36] cli: Add a function to set up a new cread