aboutsummaryrefslogtreecommitdiff
path: root/delete
blob: 679f72aeba1f4c2eafb04f0d64f7ed4a2d510dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/rc
user=()
repo=()

fn usage {
	echo usage: $0 user repo >[1=2]
	exit usage
}

if(! ~ $#* 2)
	usage()

user=$1
repo=$2

gh/gh DELETE /repos/$user/$repo