argparse-ext is a Python library that extends the standard `argparse` module, providing additional argument types and features for command-line interface parsing. It offers types like path, URL, JSON, email, and utilities for subcommands and config files. The current version is 1.4.2, and it maintains a steady, though not rapid, release cadence.
pip install argparse-extVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import and use `argparse_ext.ArgumentParser` with some of its extended types like 'path', 'url', and 'json'. It also shows how to access the methods and attributes of the resulting parsed objects.
Replace `from argparse import ArgumentParser` with `from argparse_ext import ArgumentParser` at the top of your script.
Consult the argparse-ext documentation for each extended type to understand its resolved object type and access its specific methods/attributes (e.g., `args.path.absolute()` or `args.url.scheme`).
Choose distinct subcommand names. If issues arise, explicitly check `args.command_name` (or whatever destination you set) for the subcommand that was parsed.
No dependency data recorded yet.