             when repo?
                 delete query.repo
                 "https://api.github.com/repos/#{repo}/issues/comments"
+            else
+                cb new Error "repo required"
         @getAll uri, query, cb
         
 

                'https://api.github.com/user/orgs'
        @get uri, query, cb
    repos: (args..., cb) ->
        {org} = query = args[0] or {}
        uri = switch true
            when org?
                delete query.org
                "https://api.github.com/orgs/#{org}/repos"
            else
                'https://api.github.com/user/repos'
        @get uri, query, cb

        uri = "https://api.github.com/repos/#{repo}/milestones"
        @get uri, query, cb
    issues: (args..., cb) ->
        {repo, org, user} = query = args[0] or {}
        uri = switch true
            when repo?
                delete query.repo
                "https://api.github.com/repos/#{repo}/issues"
            when org
                delete query.org
                "https://api.github.com/orgs/#{org}/issues"
            when org?
                delete query.org
                'https://api.github.com/user/issues'
            else
                "https://api.github.com/issues"
        @getAll uri, query, cb
