     else if args.r?
         jiraCli.resolveIssue args.r
         return
+    else if args.p?
+        projects = jiraCli.getMyProjects (projects)=>
+            for project in projects
+                jiraCli.prettyPrintProject project
+        return
     else if args.a?
         # Gather the summary, description, an type
         # This should poll jira to get a list of available types instead of

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

        process.stdout.write " - "
        process.stdout.write issue.fields.summary
        process.stdout.write "\n"

    # 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")

    # Takes in a summary, description, and issue type (1, 2, and 4 on my
    # servers) and creates a new issue, populating from your config file
