How to Install and Uninstall python-optcomplete Package on openSUSE Leap
Last updated: December 24,2024
Deprecated! Installation of this package may no longer be supported.
1. Install "python-optcomplete" package
Please follow the guidance below to install python-optcomplete on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
python-optcomplete
Copied
2. Uninstall "python-optcomplete" package
Please follow the guidance below to uninstall python-optcomplete on openSUSE Leap:
$
sudo zypper remove
python-optcomplete
Copied
3. Information about the python-optcomplete package on openSUSE Leap
Information for package python-optcomplete:
-------------------------------------------
Repository : Main Repository
Name : python-optcomplete
Version : 1.2_devel-bp153.1.12
Arch : noarch
Vendor : openSUSE
Installed Size : 88,6 KiB
Installed : No
Status : not installed
Source package : python-optcomplete-1.2_devel-bp153.1.12.src
Summary : Automatic Shell Completion Support for Scripts Using Optparse
Description :
This module provide automatic bash completion support for programs that use the
optparse module. The premise is that the optparse options parser specifies
enough information (and more) for us to be able to generate completion strings
esily. Another advantage of this over traditional completion schemes where the
completion strings are hard-coded in a separate bash source file, is that the
same code that parses the options is used to generate the completions, so the
completions is always up-to-date with the program itself.
In addition, we allow you specify a list of regular expressions or code that
define what kinds of files should be proposed as completions to this file if
needed. If you want to implement more complex behaviour, you can instead
specify a function, which will be called with the current directory as an
argument.
You need to activate bash completion using the shell script function that comes
with optcomplete (see http://furius.ca/optcomplete for more details).
-------------------------------------------
Repository : Main Repository
Name : python-optcomplete
Version : 1.2_devel-bp153.1.12
Arch : noarch
Vendor : openSUSE
Installed Size : 88,6 KiB
Installed : No
Status : not installed
Source package : python-optcomplete-1.2_devel-bp153.1.12.src
Summary : Automatic Shell Completion Support for Scripts Using Optparse
Description :
This module provide automatic bash completion support for programs that use the
optparse module. The premise is that the optparse options parser specifies
enough information (and more) for us to be able to generate completion strings
esily. Another advantage of this over traditional completion schemes where the
completion strings are hard-coded in a separate bash source file, is that the
same code that parses the options is used to generate the completions, so the
completions is always up-to-date with the program itself.
In addition, we allow you specify a list of regular expressions or code that
define what kinds of files should be proposed as completions to this file if
needed. If you want to implement more complex behaviour, you can instead
specify a function, which will be called with the current directory as an
argument.
You need to activate bash completion using the shell script function that comes
with optcomplete (see http://furius.ca/optcomplete for more details).