@classmethod
def _add_report_parser(cls, subparsers, handler):
    """Creates a subparser for the report command

        Args:
            subparsers (argparse._SubParsersAction): Subparsers
            handler (function): Handler for report command
        """
    report_parser = subparsers.add_parser('report', description=
        'Publishes a report of nicely formatted Github issues specified by a Github issues search query (see help.github.com/articles/searching-issues-and-pull-requests/)'
        , help='Publish Github issues')
    report_parser.add_argument('query', help='Issues search query')
    template_group = report_parser.add_mutually_exclusive_group()
    template_group.add_argument('-i', '--internal', default=
        'simple_report.md', help=
        'Tag of internal template to format issues with')
    template_group.add_argument('-e', '--external', help=
        'Path to external template to format issues with')
    report_parser.set_defaults(handler=handler)
    report_parser.add_argument('-c', '--config', help=
        'Path to gisrep config file')
    report_parser.add_argument('-p', '--password', help='Github password')
    report_parser.add_argument('-u', '--username', help='Github usename')
