mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Update completions
This commit is contained in:
parent
bc91f2a462
commit
ccad145956
2 changed files with 20 additions and 39 deletions
|
@ -4,7 +4,7 @@ _slpkg()
|
|||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W "--help --version update upgrade repo-add repo-remove repo-list repo-info slpkg list --add --remove build install build-install config --index --installed --upgrade --color --skip --resolve-off" -- $cur ))
|
||||
COMPREPLY=( $( compgen -W "update upgrade repo-add repo-remove repo-list repo-info slpkg --autobuild --blacklist --queue --list --check --sync --tracking --print --network --FIND --find --install --upgrade --reinstall --remove --display --add --remove list build install build-install --index --installed --color= --skip= --resolve-off" -- $cur ))
|
||||
|
||||
else
|
||||
_filedir
|
||||
|
|
|
@ -1,38 +1,19 @@
|
|||
complete --command slpkg --long-option help --short-option h --description 'show this help message and exit'
|
||||
complete --command slpkg --long-option version --short-option v --description 'print version and exit'
|
||||
complete --command slpkg --short-option a --description 'auto build SBo packages'
|
||||
complete --command slpkg --short-option b --description 'add, remove packages in blacklist'
|
||||
complete --command slpkg --short-option q --description 'add, remove SBo packages in queue'
|
||||
complete --command slpkg --short-option g --description 'configuration file management'
|
||||
complete --command slpkg --short-option l --description 'list of repositories packages'
|
||||
complete --command slpkg --short-option c --description 'check for updated packages'
|
||||
complete --command slpkg --short-option s --description 'download, build & install packages'
|
||||
complete --command slpkg --short-option t --description 'package tracking dependencies'
|
||||
complete --command slpkg --short-option p --description 'print package description'
|
||||
complete --command slpkg --short-option n --description 'view SBo packages through network'
|
||||
complete --command slpkg --short-option f --description 'find installed packages'
|
||||
complete --command slpkg --short-option F --description 'find packages from repositories'
|
||||
complete --command slpkg --short-option i --description 'install Slackware binary packages'
|
||||
complete --command slpkg --short-option u --description 'upgrade Slackware binary packages'
|
||||
complete --command slpkg --short-option o --description 'reinstall Slackware binary packages'
|
||||
complete --command slpkg --short-option r --description 'remove Slackware binary packages'
|
||||
complete --command slpkg --short-option d --description 'display the contents'
|
||||
complete --command slpkg --short-option c --long-option upgrade --description 'additional options for upgrade packages'
|
||||
complete --command slpkg --short-option l --long-option installed --description 'additional options for list installed packages'
|
||||
complete --command slpkg --short-option l --long-option index --description 'additional options for list indexing packages'
|
||||
complete --command slpkg --short-option p --long-option color --description 'additional options for print package description with colors'
|
||||
complete --command slpkg --long-option add --description 'additional options for blacklist and queue'
|
||||
complete --command slpkg --long-option remove --description 'additional options for blacklist and queue'
|
||||
complete --command slpkg --long-option skip --description 'additional options for upgrade packages'
|
||||
complete --command slpkg --long-option resolve-off --description 'additional options to on/off automatic resolve dependencies'
|
||||
complete --command slpkg -a list --description 'option for print list to blacklist and queue'
|
||||
complete --command slpkg -a build --description 'build packages from queue'
|
||||
complete --command slpkg -a install --description 'install packages from queue'
|
||||
complete --command slpkg -a build-install --description 'build and install packages from queue'
|
||||
complete --command slpkg -a config --description 'configuration file management'
|
||||
complete --command slpkg -a update --description 'update all package lists'
|
||||
complete --command slpkg -a upgrade --description 'upgrade all package lists'
|
||||
complete --command slpkg -a repo-add --description 'add custom repository'
|
||||
complete --command slpkg -a repo-remove --description 'remove custom repository'
|
||||
complete --command slpkg -a repo-list --description 'list all repositories'
|
||||
complete --command slpkg -a repo-info --description 'repository information'
|
||||
complete --command slpkg --long-option help --short-option h --description 'Print this help message and exit.'
|
||||
complete --command slpkg --long-option version --short-option v --description 'Print program version and exit.'
|
||||
complete --command slpkg --long-option autobuild --short-option a --description ''
|
||||
complete --command slpkg --long-option blacklist --description 'Auto build SBo packages. If you already have downloaded the script and the source code you can build a new package with this command.'
|
||||
complete --command slpkg --long-option queue --short-option q --description 'Manage SBo packages in the queue. Add or remove and print the list build-install of packages. Build and then install the packages from the queue.'
|
||||
complete --command slpkg --long-option config --short-option g --description 'Configuration file management. Print the configuration file or edit.'
|
||||
complete --command slpkg --long-option list --short-option l --description 'Print a list of all available packages repository, index or print only packages installed on the system.'
|
||||
complete --command slpkg --long-option check --short-option c --description 'Check, view and install updated packages from repositories.'
|
||||
complete --command slpkg --long-option sync --short-option s --description 'Sync packages. Install packages directly from remote repositories with all dependencies.'
|
||||
complete --command slpkg --long-option tracking --short-option t --description 'Tracking package dependencies and print package dependenies tree with highlight if packages is installed.'
|
||||
complete --command slpkg --long-option print --short-option p --description 'Print description of a package directly from the repository and change color text.'
|
||||
complete --command slpkg --long option network --short-option n --description 'View a standard of SBo page in terminal and manage multiple options like reading, downloading, building installation, etc.'
|
||||
complete --command slpkg --long-option find --short-option f --description 'Find and print installed packages reporting the size and the sum.'
|
||||
complete --command slpkg --long-option FIND --short-option F --description 'Find packages from repositories and search at each enabled repository and prints results.'
|
||||
complete --command slpkg --long-option install --short-option i --description 'Installs single or multiple Slackware binary packages.'
|
||||
complete --command slpkg --long-option upgrade --short-option u --description 'Upgrade single or multiple Slackware binary packages from a older to a newer one.'
|
||||
complete --command slpkg --long-option reinstall --short-option o --description 'Reinstall signle or multiple Slackware binary packages with the same packages if the exact.'
|
||||
complete --command slpkg --long-option remove --short-option r --description 'Removes a previously installed Slackware binary packages.'
|
||||
complete --command slpkg --long-option display --short-option d --description 'Display the installed packages contents and file list.'
|
||||
|
|
Loading…
Add table
Reference in a new issue