From c8642368e9331cb5f06cf278a7077f975cb07c17 Mon Sep 17 00:00:00 2001 From: lyn Date: Mon, 13 Apr 2026 10:21:09 +0000 Subject: [PATCH] Add list-projs to git-ctrl and SKILL.md --- git-hangman-lab/SKILL.md | 8 ++++++++ git-hangman-lab/scripts/git-ctrl | 3 +++ 2 files changed, 11 insertions(+) diff --git a/git-hangman-lab/SKILL.md b/git-hangman-lab/SKILL.md index bf0e2a9..598274d 100644 --- a/git-hangman-lab/SKILL.md +++ b/git-hangman-lab/SKILL.md @@ -83,6 +83,14 @@ When you clone a repository from git.hangman-lab.top and are ready to develop, o {baseDir}/scripts/git-ctrl repo-config --repo-path ``` +### List Projects + +List all repositories visible to the current user on git.hangman-lab.top in markdown table format. + +```bash +{baseDir}/scripts/git-ctrl list-projs +``` + ### External Login Control Enable or disable local login on Gitea. diff --git a/git-hangman-lab/scripts/git-ctrl b/git-hangman-lab/scripts/git-ctrl index 11a13e3..a6336a7 100755 --- a/git-hangman-lab/scripts/git-ctrl +++ b/git-hangman-lab/scripts/git-ctrl @@ -54,6 +54,9 @@ case "$subcommand" in external-login-ctrl) "$SCRIPT_DIR/external-login-ctrl" "$@" ;; + list-projs) + "$SCRIPT_DIR/list-projs" "$@" + ;; reset-password) "$SCRIPT_DIR/reset-password" "$@" ;;