From 1fb2f1cede7c498a00bd02fa1ec5c788a7b8cd1a Mon Sep 17 00:00:00 2001 From: Roy Cornelissen Date: Mon, 2 Dec 2024 15:15:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Add=20cleanup=20script=20to=20RE?= =?UTF-8?q?ADME.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 38b3dc6..416e90e 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,14 @@ You will start with the code base in the [code/start/legacy folder](./code/start You can clone this repo and start working on the labs which can be found on the [Wiki pages of this repository](https://github.com/XpiritCommunityEvents/LegacyLiftOffWorkshop/wiki). We recommend that you keep a tab open with the Wiki at all times during the lab. Have fun! + +### Cleanup + +To clean up all the attendee repos: + +```bash +for repo in $(gh repo list XpiritCommunityEvents --json name --jq '.[].name | select(test("^attendeello"))'); do + echo "Deleting repository: $repo" + gh repo delete "XpiritCommunityEvents/$repo" --yes +done +```