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