 
   workDir = path.resolve (argv.chdir or process.cwd())
   logger.verbose "resolving options - work directory: #{ workDir }"
-
-  if argv.templateData?
-    argv.locals = argv.templateData
-    delete argv.templateData
 
   async.waterfall [
     (callback) ->

  "  -i, --contents [path]         contents location (defaults to #{ defaults.contents.default })"
  "  -t, --templates [path]        template location (defaults to #{ defaults.templates.default })"
  "  -L, --locals [path]           optional path to json file containing template context data"
].join '\n'

exports.getOptions = (argv, callback) ->

      else
        callback null, options
    (options, callback) ->
      if typeof options.plugins is 'string'
        options.plugins = options.plugins.split ','
      callback null, options
    (options, callback) ->
      logger.verbose 'resolved options:', options
      logger.verbose 'validating paths'
      paths = ['contents', 'templates']
