aboutsummaryrefslogtreecommitdiff
path: root/delete
blob: 5fd290143c6fcc93f29b72b43eac4e196ca34711 (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