1) Boot up simulator
2) Press ctl+c (when it prompts) to bring up boot menu
3) From the options, there will be : maintenance mode boot.
Whatever that option number is, enter the 'number', press enter
*> you should see all the commands you can work with, type help <command> for more details