How to Install and Uninstall python312-argh Package on openSuSE Tumbleweed
Last updated: December 26,2024
1. Install "python312-argh" package
In this section, we are going to explain the necessary steps to install python312-argh on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
python312-argh
Copied
2. Uninstall "python312-argh" package
Learn how to uninstall python312-argh on openSuSE Tumbleweed:
$
sudo zypper remove
python312-argh
Copied
3. Information about the python312-argh package on openSuSE Tumbleweed
Information for package python312-argh:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-argh
Version : 0.31.2-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 200.9 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.
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-argh
Version : 0.31.2-1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 200.9 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.