Added default server

This commit is contained in:
TheFlyingFool 2025-05-11 21:35:50 -05:00
parent 5c7d86d8ba
commit 1d68354438

View File

@ -19,6 +19,8 @@ import argparse
import subprocess import subprocess
import requests import requests
server = "https://git.theflyingfool.com"
def get_repos(server, token, per_page=100): def get_repos(server, token, per_page=100):
"""Fetch all repositories for the authenticated user from Gitea.""" """Fetch all repositories for the authenticated user from Gitea."""
repos = [] repos = []
@ -74,7 +76,7 @@ def main():
parser.add_argument( parser.add_argument(
"--server", "--server",
type=str, type=str,
default="https://gitea.example.com", default="https://git.theflyingfool.com",
help="Base URL of your Gitea server (e.g. https://gitea.example.com)" help="Base URL of your Gitea server (e.g. https://gitea.example.com)"
) )
parser.add_argument( parser.add_argument(