8 lines
321 B
Fish
8 lines
321 B
Fish
function gh --description "Create a new clean repo if arg is public or private" --wraps gh
|
|
if test $argv[1] = public; or test $argv[1] = private
|
|
# echo Creating new $argv[1] repo $argv[2]
|
|
gh repo create $argv[2] --disable-issues --disable-wiki --$argv[1]
|
|
else
|
|
command gh $argv
|
|
end
|
|
end
|