   # run the update script upon construction
   update_aliases()
 
-  # Our allowed commands
-  commands =
-    # site aliases, the only command that does not need an alias prefix
+  allowed_commands =
     drush_sa: (msg, command) ->
       if command.args.indexOf('--update-aliases') is -1
         msg.send "If this list is empty or has unexpected results update aliases ('drush sa --update-aliases')."

          output += "Cache clear complete."
        msg.send output

    drush_pml: (msg, command) ->
      output = ''
      # @TODO loop through command.args and append args that appear in allowed_options
      allowed_options = ['--enabled', '--disabled', '--core', '--no-core']
      spawn_options = [command.alias, "pml", "--pipe"]
      pml = spawn("drush", [command.alias, "pml", "--status=enabled", "--no-core"])

  # parsing the user input after "drush "
  parse_command = (user_command) ->


    drush_cc: (msg, command) ->
      output = ''
      msg.send "This may take a minute..."
      clearcache = spawn("drush", [command.alias, "cc", "all"])
      clearcache.stdout.on "data", (data) ->
        output += data
