All Projects → hackorama → AnyOption

hackorama / AnyOption

Licence: MIT License
C/C++ Command line and resource file option parsing

Programming Languages

C++
36643 projects - #6 most used programming language
shell
77523 projects
CMake
9771 projects

Projects that are alternatives of or similar to AnyOption

Yaap
Yet Another (Swift) Argument Parser
Stars: ✭ 124 (+49.4%)
Mutual labels:  argument-parser, argument-parsing
Stronghold
Easily configure macOS security settings from the terminal.
Stars: ✭ 813 (+879.52%)
Mutual labels:  osx, command-line-tool
Argparse.jl
Package for parsing command-line arguments to Julia programs.
Stars: ✭ 131 (+57.83%)
Mutual labels:  argument-parser, argument-parsing
Clap
Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.
Stars: ✭ 7,174 (+8543.37%)
Mutual labels:  argument-parser, argument-parsing
ArgMacros.jl
Fast, flexible, macro-based, Julia package for parsing command line arguments.
Stars: ✭ 29 (-65.06%)
Mutual labels:  argument-parser, argument-parsing
Clikt
Multiplatform command line interface parsing for Kotlin
Stars: ✭ 1,658 (+1897.59%)
Mutual labels:  argument-parser, argument-parsing
Argumentparser
Faster, easier, more declarative parsing of command line arguments in Objective-C/Foundation.
Stars: ✭ 251 (+202.41%)
Mutual labels:  argument-parser, argument-parsing
Clipp
easy to use, powerful & expressive command line argument parsing for modern C++ / single header / usage & doc generation
Stars: ✭ 687 (+727.71%)
Mutual labels:  argument-parser, argument-parsing
argparse
Parser for command-line arguments
Stars: ✭ 24 (-71.08%)
Mutual labels:  argument-parser, argument-parsing
Iterm Fish Fisher Osx
Complete guide and Bash script to install Command Line Tools + Homebrew + iTerm2 + Fish Shell + Fisher + Plugins for development purposes
Stars: ✭ 249 (+200%)
Mutual labels:  osx, command-line-tool
Caporal.js
A full-featured framework for building command line applications (cli) with node.js
Stars: ✭ 3,279 (+3850.6%)
Mutual labels:  argument-parser, argument-parsing
typed-argument-parser
Typed argument parser for Python
Stars: ✭ 259 (+212.05%)
Mutual labels:  argument-parser, argument-parsing
Lyra
A simple to use, composable, command line parser for C++ 11 and beyond
Stars: ✭ 238 (+186.75%)
Mutual labels:  argument-parser, argument-parsing
Comics Downloader
tool to download comics and manga in pdf/epub/cbr/cbz from a website
Stars: ✭ 190 (+128.92%)
Mutual labels:  osx, command-line-tool
declarative-parser
Modern, declarative argument parser for Python 3.6+
Stars: ✭ 31 (-62.65%)
Mutual labels:  argument-parser, argument-parsing
minimist2
TypeScript/JavaScript ES6 rewrite of popular Minimist argument parser
Stars: ✭ 20 (-75.9%)
Mutual labels:  argument-parser, command-line-tool
gomphotherium
Gomphotherium (/ˌɡɒmfəˈθɪəriəm/; "welded beast"), a command line Mastodon client.
Stars: ✭ 22 (-73.49%)
Mutual labels:  command-line-tool
AppIconSetGen
Tool to generate App Icon set for iOS, macOS, watchOS apps
Stars: ✭ 20 (-75.9%)
Mutual labels:  command-line-tool
harwest-tool
A one-shot tool to harvest submissions from different OJs onto one single VCS managed repository http://bit.ly/harwest
Stars: ✭ 89 (+7.23%)
Mutual labels:  command-line-tool
tmo-live-graph
A simpe react app that plots a live view of the T-Mobile Home Internet Nokia 5G Gateway signal stats, helpful for optimizing signal.
Stars: ✭ 15 (-81.93%)
Mutual labels:  osx

AnyOption

Linux, OSX Build Windows Build Code Coverage
Linux, OSX Build Status Windows Build status codecov.io

http://www.hackorama.com/anyoption/

AnyOption is a C++ class for easy parsing of complex commandline options. It also parses options from a resource file in option value pair format.

AnyOption implements the traditional POSIX style character options ( -n ) as well as the newer GNU style long options ( --name ). Or you can use a simpler long option version ( -name ) by asking to ignore the POSIX style options.

AnyOption supports the traditional UNIX resourcefile syntax of, any line starting with "#" is a comment and the value pairs use ":" as a delimiter.

An option which expects a value is considered as an option value pair, while options without a value are considered flags.

Please read the header file for the documented public interface, and demo.cpp for an example of how easy it is to use AnyOption.

August 2004, added bug-fixes, and updates send by Michael Peters of Sandia Lab.

September 2006, fix from Boyan Asenov for a bug in mixing up option type indexes.

July 2011, fix from Min KJ and Costantino G for string allocation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].