BSD Ports

devel/cligen 6.5.0 DragonFly

Command-line interface generator

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
devel
Package size
89.5 KiB, 281.2 KiB installed

Description

CLIgen is a Command-Line Interface generator written by Olof Hagsand.

Well, actually it is not really a generator, since it does not generate code for CLI's. Instead, it builds and interprets datastructures (a parse-tree) which a library (libcligen) interprets in runtime. It is fast and efficient and helps you develop CLI:s easier. You enter a CLI syntax either in a text file, you write callback functions where you call the right library routines. The callback functions add the semantics, that is, what the commands in the CLI are supposed to do.

In the other systems

SystemPortVersion
DragonFlydevel/cligen6.5.0
FreeBSDdevel/cligen6.5.0
NetBSDwip/cligen7.1.0
HardenedBSDdevel/cligen6.5.0
GhostBSDdevel/cligen6.5.0

Install

Binary package:

pkg install cligen

From DPorts:

cd /usr/dports/devel/cligen && make install clean

Dependencies

No port depends on this one.