From b6358a184b7a217d1fc163ec492f42a188eee5de Mon Sep 17 00:00:00 2001 From: rodri Date: Thu, 11 Jun 2020 19:40:06 +0000 Subject: initial commit. --- delete | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 delete (limited to 'delete') 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 -- cgit v1.2.3