def construct_repo(args: argparse.Namespace) -> Repository:
    if args.token is not None:
        login_or_token = args.token
        password = None
    else:
        login_or_token = args.login
        password = args.password

    g = Github(login_or_token, password)
    return g.get_repo(PLUGIN_REPO)