summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-10-30 14:44:06 +0100
committerLevente Polyak <anthraxx@archlinux.org>2023-05-19 22:27:13 +0200
commit2a59c32bf4ff117bd02d58a4e3f322b709259f1e (patch)
tree57b49351cf080b1d4eb85bce76abbba920e61400 /contrib
parent77d800eab2419b334cafd94b2e986351919def77 (diff)
downloaddevtools-2a59c32bf4ff117bd02d58a4e3f322b709259f1e.tar.xz
repo: added command to create a new packaging repository
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/zsh/_devtools.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/completion/zsh/_devtools.in b/contrib/completion/zsh/_devtools.in
index 6ff6cad..3395338 100644
--- a/contrib/completion/zsh/_devtools.in
+++ b/contrib/completion/zsh/_devtools.in
@@ -38,6 +38,7 @@ _pkgctl_repo_cmds=(
"pkgctl repo command"
"clone[Clone a package repository]"
"configure[Configure a clone according to distro specs]"
+ "create[Create a new GitLab package repository]"
"web[Open the packaging repository's website]"
)
@@ -55,6 +56,12 @@ _pkgctl_repo_configure_args=(
'*:git_dir:_files -/'
)
+_pkgctl_repo_create_args=(
+ '(-c --clone)'{-c,--clone}'[Clone the Git repository after creation]'
+ '(-h --help)'{-h,--help}'[Display usage]'
+ '1:pkgbase'
+)
+
_pkgctl_repo_web_args=(
'(-h --help)'{-h,--help}'[Display usage]'
'*:git_dir:_files -/'