   cli = null
   processArgv = null
   logSpy = null
-
+  actualOptions = null
+  parseOptionsCommand = (options)=>
+    actualOptions = options
 
   beforeAll ->
     processArgv = process.argv


  beforeEach ->
    Spies.restoreAll()
    console.info 'beforeEach'
    logSpy = Spies.create "logSpy", console, 'log'


    cli.registerCommand 'echo', (opts) ->
      console.log opts.string
    , _.clone({string: "I am echoing the --string default"})

    cli.registerCommand 'parse-options', parseOptionsCommand


  it 'registerCommand - should have hello-world and echo registered', ->
