 
     # stop when we see --
     if '--' is arg then break
-    
+
     # if it's an existing directory then it's our basedir
     else if isDir arg then op.options.basedir = arg
 

isDir  = require './isDir'

module.exports = (op, info, options) ->


    # if it's a file ending with '.json' then it's the options file
    else if arg[-5...] is '.json' then info.optionsFile = arg

    # check for a static arg
    else if commands[arg]? then commands[arg] op, info

    # else it's a module name for either include/exclude
    else
      # optional because if we saw `not` then it's false already
      info.include ?= true

      # split off the variable name from the end, if it's there
      split = arg.split '#'

      # if there are slashes (a path into the module) get the first part as the name
      moduleName = split[0].split(/\\|\//)[0]

      # store in `exin` to use when generating input, and outputting info to console
      info.exin[moduleName] = path:split[0], varName:split?[1]

