BSD Ports

wip/cligen 7.1.0 NetBSD

Tool to generate interactive command-line interfaces

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
apache-2.0 OR gnu-gpl-v2
Categories
wip, devel

Description

CLIgen is a Command-Line Interface generator.

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 in a text file, and write callback functions in C. The callback functions add the semantics, that is, what the commands in the CLI are supposed to do.

In the other systems

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

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/cligen && make install clean

Dependencies

Run dependencies 1