         @jira = new JiraApi('http', @config.host, @config.port, @config.user, @config.password, '2')
         @response = null
         @error = null
-
-    # Searches Jira for the issue number requested
-    # this can be either a key AB-123 or just the number 123456
-    getIssue: (issueNum)->
-        @jira.findIssue issueNum, (error, response) =>
-            if response?
-                @response = response
-                @prettyPrintIssue response
-            else
-                @error = error if error?
-                console.log color("Error finding issue: #{error}", "red")
 
     # Because I like colors, and I don't want to format them any more than this
     prettyPrintIssue: (issue)->

            alias:'list'
            default: false
            describe:'Lists all your open issues'
        }).options('h', {
            alias:'help'
            describe:'Shows this help message'

            else
                @error = error if error?
                console.log color("Error retreiving issues list: #{error}", "red")

    # ## Pretty Print Projects ##
    #
    # Prints the project list in a non-awful format
    prettyPrintProject: (project) ->
        process.stdout.write color(project.key, "white+bold")
        process.stdout.write " - "
        process.stdout.write project.name
        process.stdout.write "\n"

    # ## List all Projects ##
    # 
    # This lists all the projects viewable with your account
    getMyProjects: (callback)->
        @jira.listProjects (error, projectList) =>
            if projectList?
                callback projectList
            else
                console.log color("Error listing projects: #{error}", "red")


module.exports = {
    JiraCli
