         else
           msg.send "No rundeck projects found."
 
-  robot.respond /rundeck list jobs in (.*) in (.*)/i, (msg) ->
+  #hubot rundeck 'MyProject' jobs myrundeck-alias
+  robot.respond /rundeck '(.*)' jobs (.*)/i, (msg) ->
     if msg.message.user.id is robot.name
       return
 

      else
        cb false

  run: (name, query, cb) ->
    @find name, (job) =>
      if job
        uri = "job/#{job.id}/run"
        uri += query if query?
        @rundeck.get uri, (results) ->
          cb job, results
      else

    robot.brain.data.rundeck_aliases = _rundeckAliases
    msg.send("The rundeck system alias #{alias} for #{url} has been added to the brain")

  #hubot rundeck projects myrundeck-alias
  robot.respond /rundeck projects (.*)/i, (msg) ->
    if msg.message.user.id is robot.name
      return

