 # Since many of the commands load the manifest, and have to deal with
 # failures/etc in the same manner, this is a little convenience function
 # which handles the grunt work and returns the manifest.
-_loadManifest = (appPath, callback) ->
+_loadManifest = (appPath, log, callback) ->
   loadOpts =
     validate: true
 

  #   kdc-plus outdated --production ./
  # `args.length == 2` for the first command, `args.length == 0` for the
  # second command.. which seems odd. So, i am using rawArgs instead.
  if program.rawArgs.length == 2
    compile process.cwd(), [], coffee: true, bare: true, log




  appPath ?= process.cwd()
  appPath = path.resolve appPath

  _loadManifest appPath, log, (manifest) ->
    # ## CLI & Manifest Defaults
    # Now that we have a manifest loaded, assign our defaults, letting the
    # CLI opts override everything.
