     msg.send "Checking #{server} for uptime..."
     execCommand msg, command
 
+  robot.respond /knife search long (.*)$/i, (msg) ->
+    query = msg.match[1]
+    command = "knife search #{query}"
+
+    msg.send "Running knife search #{query}"
+    execCommand msg, command
+
+  robot.respond /knife search (.*)$/i, (msg) ->
+    query = msg.match[1]
+    command = "knife search -i #{query}"
+
+    msg.send "Running knife search -i #{query}"
+    execCommand msg, command
+
   robot.respond /converge (.*)$/i, (msg) ->
     server = msg.match[1]
     command = "knife ssh --attribute ipaddress --no-color name:#{server} 'sudo chef-client'"

#   hubot knife node show <name> - chef: Display node run_list et al
#   hubot knife role show <name> - chef: Display role configurations et al
#   hubot knife status - chef: Display status for all nodes
#   hubot node list - chef: Lists all nodes on chef server
#   hubot node show <node> - chef: Get knife status of all nodes
#   hubot uptime <server> - chef: Prints uptime per node

    command = "knife status"

    msg.send "Outputing status for all nodes..."
    execCommand msg, command

  robot.respond /knife status (.*)$/i, (msg) ->
    query = msg.match[1]
    command = "knife status #{query}"

    msg.send "Outputing status for #{query}"
    execCommand msg, command

  robot.respond /node list$/i, (msg) ->
