              natal init HelloWorld
              '''
 
-    ensureFreePort -> init name, interfaceName, cmd.verbose
+    ensureFreePort -> init name, interfaceName
 
 
 cli.command 'launch'
   .description 'compile project and run in simulator'
-  .action ->
+  .option verboseFlag, verboseText
+  .action verboseDec ->
     ensureFreePort -> launch readConfig()
 
 
 cli.command 'repl'
   .description 'launch a ClojureScript REPL with background compilation'
+  .option verboseFlag, verboseText
   .option '-c, --choose', 'choose target device from list'
-  .action (cmd) ->
+  .action verboseDec (cmd) ->
     startRepl readConfig().name, !cmd.choose
 
 
 cli.command 'listdevices'
   .description 'list available simulator devices by index'
-  .action ->
+  .option verboseFlag, verboseText
+  .action verboseDec ->
     console.log (getDeviceList()
       .map (line, i) -> "#{i}\t#{line.replace /\[.+\]/, ''}"
       .join '\n')


cli.command 'xcode'
  .description 'open Xcode project'
  .action ->
    openXcode readConfig().name


cli.command 'deps'
  .description 'install all dependencies for the project'
  .action ->
    try
      log 'Installing Leiningen jars'
      exec 'lein deps'


cli.command 'setdevice <index>'
  .description 'choose simulator device by index'
  .option verboseFlag, verboseText
  .action verboseDec (index) ->
    unless device = getDeviceList()[parseInt index, 10]
      logErr 'Invalid device index. Run natal listdevices for valid indexes.'

