python-argh

An argparse wrapper

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.

There is no official package available for openSUSE Leap 16.0

Distributions

openSUSE Tumbleweed

home:frispete:python OpenSUSE-fellesskapet
0.31.3

openSUSE Leap 16.0

openSUSE Leap 15.6

openSUSE Leap 15.5

home:Marco-GmbH:python311 OpenSUSE-fellesskapet
0.31.3

openSUSE Backports for SLE 15 SP7

openSUSE Backports for SLE 15 SP4

SUSE SLE-15-SP1

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.