How to Install and Uninstall python3-argh Package on openSUSE Leap

Last updated: May 18,2024

1. Install "python3-argh" package

Please follow the guidance below to install python3-argh on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-argh

2. Uninstall "python3-argh" package

In this section, we are going to explain the necessary steps to uninstall python3-argh on openSUSE Leap:

$ sudo zypper remove python3-argh

3. Information about the python3-argh package on openSUSE Leap

Information for package python3-argh:
-------------------------------------
Repository : Main Repository
Name : python3-argh
Version : 0.26.2-bp155.2.9
Arch : noarch
Vendor : openSUSE
Installed Size : 162.5 KiB
Installed : No
Status : not installed
Source package : python-argh-0.26.2-bp155.2.9.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.