Skip to content

hcp-uw/ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

# Install dependencies
brew install gh
brew install jq

# Make executable
chmod +x *.sh

# Create a GitHub token
gh auth login

or just run setup.sh

chmod +x setup.sh
./setup.sh

Usage

# create a repo for a team (interactive)
./create-team-repo.sh
# elevate perms (required for mass delete)
gh auth refresh -h github.com -s delete_repo
# mass delete repos from an org (useful after testing)
./bulk-delete-repos.sh <org> <repo regex>
# mass delete teams from an org (useful after testing)
./bulk-delete-teams.sh <org> <team regex>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages