mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:33:56 +08:00
4dae106911
Part of #7040
23 lines
1.5 KiB
Fish
23 lines
1.5 KiB
Fish
# Completions for xbps-rindex
|
|
# Author: Allen Sobot <chilledfrogs@disroot.org>
|
|
|
|
set -l progname xbps-rindex
|
|
set -l modes none gzip bzip2 xz lz4 zstd
|
|
|
|
complete -c $progname -f
|
|
|
|
complete -c $progname -s d -d 'Enable extra debugging shown to stderr'
|
|
complete -c $progname -l compression -d 'Set the repodata compression format (default: zstd)' -xa "$modes"
|
|
complete -c $progname -s C -d 'Check not only for file existence but for the correct file hash while cleaning'
|
|
complete -c $progname -s f -d 'Forcefully register package into the local repo (overwriting)'
|
|
complete -c $progname -s h -d 'Show the help message'
|
|
complete -c $progname -s V -d 'Show the version information'
|
|
complete -c $progname -l signedby -d 'Name and email of person signing the repository'
|
|
complete -c $progname -l privkey -d 'Path to the private RSA key to sign the repository. Defaults to ~/.ssh/id_rsa' -F
|
|
|
|
complete -c $progname -s a -d 'Register the binary package into the local repository' -k -xa "(__fish_complete_suffix .xbps)"
|
|
complete -c $progname -s c -d 'Remove obsolete entries found in the local repository' -xa "(__fish_complete_directories)"
|
|
complete -c $progname -s r -d 'Remove obsolete and currently unregistered packages from the local repository' -xa "(__fish_complete_directories)"
|
|
complete -c $progname -s s -d 'Initialize a signed repository with your specified RSA key' -xa "(__fish_complete_directories)"
|
|
complete -c $progname -s S -d 'Sign a binary package archive with your specified RSA key' -k -xa "(__fish_complete_suffix .xbps)"
|