Show HN: arrg – A Python library for building modular command-line applications (github.com) 3 points by crap 1y ago ↗ HN
[–] digdugdirk 1y ago ↗ Looks good! How do you feel it compares to something like Typer/Click? [–] crap 1y ago ↗ It's entirely based on class/typed field definitions as opposed to functions.It's also built on top of `argparse`, maintaining compatibility with their APIs and re-using their parsing logic.
[–] crap 1y ago ↗ It's entirely based on class/typed field definitions as opposed to functions.It's also built on top of `argparse`, maintaining compatibility with their APIs and re-using their parsing logic.
[–] nchagnet 1y ago ↗ This looks like a neat library! I really like the inheritance aspect, seems quite useful to define standard flags and arguments.
3 comments
[ 3.4 ms ] story [ 22.3 ms ] threadIt's also built on top of `argparse`, maintaining compatibility with their APIs and re-using their parsing logic.