Delete github forked repos using API
$ go get github.com/royge/rmforks
After successful install the binary will be inside $GOPATH/bin
directory.
NOTE: Requires go 1.10
.
-
Clone repo
$ git clone https://github.com/royge/rmforks.git
-
Install
vgo
$ go get -u golang.org/x/vgo
-
Build
$ cd rmforks $ CC=gcc vgo build
-
How to use
Copy/rename
config.json.dist
toconfig.json
and provide your github username and access token.Run
$ ./rmforks
Create repo package tests.