Added default server
This commit is contained in:
parent
5c7d86d8ba
commit
1d68354438
@ -19,6 +19,8 @@ import argparse
|
||||
import subprocess
|
||||
import requests
|
||||
|
||||
server = "https://git.theflyingfool.com"
|
||||
|
||||
def get_repos(server, token, per_page=100):
|
||||
"""Fetch all repositories for the authenticated user from Gitea."""
|
||||
repos = []
|
||||
@ -74,7 +76,7 @@ def main():
|
||||
parser.add_argument(
|
||||
"--server",
|
||||
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)"
|
||||
)
|
||||
parser.add_argument(
|
||||
|
Loading…
Reference in New Issue
Block a user