aboutsummaryrefslogtreecommitdiff
path: root/delete
diff options
context:
space:
mode:
Diffstat (limited to 'delete')
-rwxr-xr-xdelete16
1 files changed, 16 insertions, 0 deletions
diff --git a/delete b/delete
new file mode 100755
index 0000000..679f72a
--- /dev/null
+++ b/delete
@@ -0,0 +1,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