How to Install and Uninstall python2-argh Package on openSUSE Leap
Last updated: December 28,2024
Deprecated! Installation of this package may no longer be supported.
1. Install "python2-argh" package
Here is a brief guide to show you how to install python2-argh on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
python2-argh
Copied
2. Uninstall "python2-argh" package
Please follow the guidelines below to uninstall python2-argh on openSUSE Leap:
$
sudo zypper remove
python2-argh
Copied
3. Information about the python2-argh package on openSUSE Leap
Information for package python2-argh:
-------------------------------------
Repository : Main Repository
Name : python2-argh
Version : 0.26.2-bp153.1.18
Arch : noarch
Vendor : openSUSE
Installed Size : 139,7 KiB
Installed : No
Status : not installed
Source package : python-argh-0.26.2-bp153.1.18.src
Summary : An argparse wrapper
Description :
This Python module provides a wrapper for argparse with support for hierarchical
commands that can be bound to modules or classes.
Features that argh adds to argparse:
* mark a function as a CLI command and specify its arguments before the parser
is instantiated;
* nested commands made easy: no messing with subparsers (though they are of
course used under the hood);
* infer agrument type from the default value;
* infer command name from function name;
* add an alias root command help for the --help argument;
* enable passing unwrapped arguments to certain functions instead of a
argparse.Namespace object.
Argh is fully compatible with argparse. argh-agnostic and argh-aware code
can be mixed. Keep in mind that argh.dispatch does some extra
work that a custom dispatcher may not do.
-------------------------------------
Repository : Main Repository
Name : python2-argh
Version : 0.26.2-bp153.1.18
Arch : noarch
Vendor : openSUSE
Installed Size : 139,7 KiB
Installed : No
Status : not installed
Source package : python-argh-0.26.2-bp153.1.18.src
Summary : An argparse wrapper
Description :
This Python module provides a wrapper for argparse with support for hierarchical
commands that can be bound to modules or classes.
Features that argh adds to argparse:
* mark a function as a CLI command and specify its arguments before the parser
is instantiated;
* nested commands made easy: no messing with subparsers (though they are of
course used under the hood);
* infer agrument type from the default value;
* infer command name from function name;
* add an alias root command help for the --help argument;
* enable passing unwrapped arguments to certain functions instead of a
argparse.Namespace object.
Argh is fully compatible with argparse. argh-agnostic and argh-aware code
can be mixed. Keep in mind that argh.dispatch does some extra
work that a custom dispatcher may not do.