     config.device = pluckUuid device
     writeConfig config
 
+
+cli.command 'xcode'
+  .description 'Open Xcode project'
+  .action ->
+    openXcode readConfig().name
+
+
 cli.on '*', (command) ->
   logErr "Unknown command #{command[0]}. See natal --help for valid commands"
 

      .map (line, i) -> "#{i}\t#{line.replace /\[.+\]/, ''}"
      .join '\n')

cli.command 'setdevice <index>'
  .description 'Choose simulator device by index'
  .action (index) ->


    init name


cli.command 'launch'
  .description 'Run project in simulator and start REPL'
  .action ->
    launch readConfig()


cli.command 'listdevices'
  .description 'List available simulator devices by index'
