       (p for p in [
         if not Program.user? and not Program.configuration?.user?
           { name: "user", message: "What is your username (exclude @c3a.dk)? " }
-        if not Program.tasks and not Program.googlepass? and not Program.configuration?.googlepass?
+        if not Program.action? and not Program.googlepass? and not Program.configuration?.googlepass?
           { name: "googlepass", message: "What is your Google password? ", hidden: true }
         if not Program.harvestpass? and not Program.configuration?.harvestpass?
           { name: "harvestpass", message: "What is your Harvest password? ", hidden: true }
-        if not Program.tasks and not Program.calendar? and not Program.configuration?.calendar?
+        if not Program.action? and not Program.calendar? and not Program.configuration?.calendar?
           { name: "calendar", message: "Enter calendar from which to extract events. " }
-        if not Program.tasks and not Program.range? and not Program.configuration?.range?.from?
+        if Program.action isnt "tasks" and not Program.range? and not Program.configuration?.range?.from?
           { name: "from", message: "Enter the start date for the search in the form YYYYMMDD. " }
-        if not Program.tasks and not Program.range? and not Program.configuration?.range?.to?
+        if Program.action isnt "tasks" and not Program.range? and not Program.configuration?.range?.to?
           { name: "to", message: "Enter the end date for the search in the form YYYYMMDD. " }
       ] when p?)
       (err, result) -> 

  _0_harvestauthenticated: ->
    console.log "✔ Harvest: Authenticated".green 

    if @program.tasks
      # lists tasks and exit
      @harvest.projectsandtasks(
        ((projects)-> console.log "#{projects.length} projects"),

  ###
  create: (entry, success, fail) ->

    #console.log "CREATE", entry

    data = JSON.stringify(entry)

    headers = @headers
