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

Last updated: December 27,2024

1. Install "python311-argh" package

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

$ sudo zypper refresh $ sudo zypper install python311-argh

2. Uninstall "python311-argh" package

This guide covers the steps necessary to uninstall python311-argh on openSuSE Tumbleweed:

$ sudo zypper remove python311-argh

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

Information for package python311-argh:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python311-argh
Version : 0.31.2-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 208.4 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.