Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mislav/gh-delete-repo

[Deprecated] GitHub CLI extension for deleting GitHub repositories
https://github.com/mislav/gh-delete-repo

gh-extension

Last synced: 2 months ago
JSON representation

[Deprecated] GitHub CLI extension for deleting GitHub repositories

Awesome Lists containing this project

README

        

# gh delete-repo

**Deprecated: a `gh repo delete` command now ships with GitHub CLI core.**

A GitHub CLI extension to delete GitHub repositories.

Installation:
```sh
gh extension install mislav/gh-delete-repo
```

You must ensure that your GitHub CLI is authorized with the `delete_repo` scope:
```sh
gh auth refresh -h github.com -s delete_repo
```

Usage:
```sh
# delete exact repo (will be prompted for confirmation):
gh delete-repo mislav/gh-test

# delete all repos matching a pattern (will be prompted to confirm each match):
gh delete-repo 'mislav/*test'
```