BSD Ports

devel/py-autocommand 2.2.2p3 OpenBSD

autogenerate argparse parsers from function signatures

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, lang/python

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.

In the other systems

The newest version among them is 2.2.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/py-autocommand2.2.2p3 newestno data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDdevel/py-autocommand2.2.2_2 newestnone known-[email protected]-
DragonFlydevel/py-autocommand2.2.2_1 newestnone known-[email protected]-
MidnightBSDdevel/py-autocommand2.2.2_2 newestno data-[email protected]-
HardenedBSDdevel/py-autocommand2.2.2_2 newestno data-[email protected]-
GhostBSDdevel/py-autocommand2.2.2_2 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add py3-autocommand

From the ports tree:

cd /usr/ports/devel/py-autocommand && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Build dependencies 5
Run dependencies 1

No port depends on this one.