BSD Ports

devel/py-commandlines 0.4.1_2 MidnightBSD

Command line argument to object parsing library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

Commandlines is a Python library for command line application development that supports command line argument parsing, command string validation testing, & application logic. It has no external dependencies and provides broad Python interpreter support.

The library supports application development with POSIX guideline compliant[*] command argument styles, the GNU argument style extensions to the POSIX guidelines (including long option syntax and variable position of options among arguments), and command suite style application arguments that include one or more sub-commands to the executable.

[*] with the exception of the short single option-argument definition syntax that does not include an intervening space character (e.g. -ofile)

In the other systems

SystemPortVersion
MidnightBSDdevel/py-commandlines0.4.1_2
FreeBSDdevel/py-commandlines0.4.1_1
DragonFlydevel/py-commandlines0.4.1_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}commandlines

From mports:

cd /usr/mports/devel/py-commandlines && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}commandlines>0:devel/py-commandlines

Dependencies

As this port's Makefile names them.

Build 2

Build dependencies 2
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
commandlines-0.4.1.tar.gz1743486b650b78470ac95966d7b1a9d215c16591bccb34b28ae2bb9026c3b4166fd64
Master sites 1
  • PYPI