 #
 # Configuration:
 #   HUBOT_GHE_URL
-#   HUBOT_GHE_USERNAME
-#   HUBOT_GHE_PASSWORD
+#   HUBOT_GHE_TOKEN
 #
 # Commands:
 #   hubot ghe (status|info) <info> - gives some information about large repositories

    else
      msg.send "I don't know about #{info_term}"

ghe_license = (msg, auth,url) ->
    msg.http("#{url}/enterprise/settings/license")
    .header("Authorization", auth)
    .get() (err, res, body) ->
        if err
             msg.send "error"

           else
               msg.send "statusCode: #{res.statusCode}"

ghe_largerepo = (msg, token, url) ->
    repo_min = 2000000
    msg.http("#{url}/search/repositories?q=size:>=#{repo_min}")
    .header("Authorization", "token #{token}")
    .get() (err, res, body) ->
        if err
             msg.send "error"
