RSS 4 projects tagged "command line argument parsing"

Download Website Updated 04 Mar 2014 yuck

Screenshot
Pop 116.98
Vit 1.00

yuck is a command line option parser for C that works on a minimal set of dependencies - only a C compiler and the m4 macro processor are required. It supports all the standard use cases: GNU-style long options (--option), condensable short options (-xab for -x -a -b), and optional arguments to long and short options (--foo[=BAR]), multiple occurrence of options (-vvv). Most importantly, it does not depend on libc's getopt() nor getopt_long().

No download Website Updated 23 Feb 2013 argparse4j

Screenshot
Pop 56.00
Vit 4.06

argparse4j is Java port of the Python argparse commandline argument parser.

No download Website Updated 19 May 2012 The Lean Mean C++ Option Parser

Screenshot
Pop 49.23
Vit 2.16

The Lean Mean C++ Option Parser handles program arguments (argc, argv). It supports the short and long option formats of getopt(), getopt_long(), and getopt_long_only(), but has a more convenient interface. It is a freestanding, header-only library with no dependencies, not even libc or STL. It comes with a usage message formatter which supports column alignment and line wrapping, making it ideal for localized messages with different lengths.

Download Website Updated 27 Nov 2013 CmdOption

Screenshot
Pop 36.08
Vit 4.64

CmdOption is a simple annotation-driven command line parser toolkit for Java 5 applications. Everything you need is (at least one) simple configuration object. Each field and method annotated with an CmdOption annotation will be processed. Based on this config, CmdOption is able to parse any command line, guaranteeing the declared specification. The result is directly stored in the given config object. When errors occur, CmdOption gives a meaningful error message. Generated output and validation/error message can be localized.

Screenshot

Project Spotlight

Mnemosyne Project

A spaced repetition flash card program.

Screenshot

Project Spotlight

FBReaderJ

An e-book reader for the Google Android platform.