 
 # Display the list of Cake tasks in a format similar to `rake -T`
 printTasks = ->
-  console.log ''
   for name, task of tasks
     spaces = 20 - name.length
     spaces = if spaces > 0 then Array(spaces + 1).join(' ') else ''

  CoffeeScript.run fs.readFileSync('Cakefile').toString(), filename: 'Cakefile'
  oparse = new optparse.OptionParser switches
  return printTasks() unless args.length
  console.log args
  try
    options = oparse.parse(args)
  catch e


# Print an error and exit when attempting to use an invalid option.
missingOption = (option) ->
  console.error """No such option: "#{option}"\n"""
  process.exit 1

# Print an error and exit when attempting to call an undefined task.
missingTask = (task) ->
  console.error """No such task: "#{task}"\n"""
  process.exit 1

# When `cake` is invoked, search in the current and all parent directories
