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

        Args:
            subparsers (argparse._SubParsersAction): Subparsers
            handler (function): Handler for init command
        """
    init_parser = subparsers.add_parser('init', description=
        "Creates a '.gisreprc' configuration file to store Github username and adds the password to the system password manager."
        , help='Initialise gisrep to use Github credentials')
    init_parser.add_argument('-f', '--force', action='store_true', help=
        'Overwrite an existing config file')
    init_parser.add_argument('-l', '--local', help=
        'Path to a directory in which to save the file')
    init_parser.set_defaults(handler=handler)
