OpenBSD ports

The devel/py-autocommand,python3 port

py3-autocommand-2.2.2 – autogenerate argparse parsers from function signatures

Description

Autocommand turns a function into a command-line program. It converts
the function's parameter signature into command-line arguments, and
automatically runs the function if the module was called as __main__.
In effect, it lets you create a smart main function.

WWW: https://github.com/Lucretiel/autocommand
Categories:
devel lang/python

Library dependencies

Build dependencies

Run dependencies