initial commit

This commit is contained in:
2025-10-23 09:21:23 -07:00
commit a243eae91a
7 changed files with 140 additions and 0 deletions

9
list-gitlab-projects.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
source config.sh
for ((i=1; ; i+=1)); do
contents=$(curl -s "$GL_DOMAIN/api/v4/projects?private_token=$GL_TOKEN&per_page=100&owned=true&page=$i")
if jq -e '. | length == 0' >/dev/null; then
break
fi <<< "$contents"
echo "$contents" | jq -r '.[].ssh_url_to_repo'
done