How to Install and Uninstall python39-argh Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "python39-argh" package

Please follow the guidelines below to install python39-argh on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python39-argh

2. Uninstall "python39-argh" package

Please follow the guidelines below to uninstall python39-argh on openSuSE Tumbleweed:

$ sudo zypper remove python39-argh

3. Information about the python39-argh package on openSuSE Tumbleweed

Information for package python39-argh:
--------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python39-argh
Version : 0.31.2-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 184.8 KiB
Installed : No
Status : not installed
Source package : python-argh-0.31.2-1.4.src
Upstream URL : https://github.com/neithere/argh/
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.