Last active
May 29, 2021 15:04
-
-
Save jbfriedrich/ab68fb128e7d8859075743d09293190d to your computer and use it in GitHub Desktop.
Workaround for "gh delete" until #3625 is implemented
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From https://github.com/cli/cli/issues/3625 | |
# one time: | |
$ gh alias set delete 'api -X DELETE repos/$1' | |
$ gh auth refresh -h github.com -s delete_repo | |
# usage (WARNING: no confirmation!) | |
$ gh delete user/myrepo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment