Giter Site home page Giter Site logo

anyoption's Introduction

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

AnyOption is a C++ class for easy parsing of complex commandline options. It also parses options from a rsourcefile 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. 

anyoption's People

Contributors

hackorama avatar aleffnull avatar hamann avatar

Watchers

Alex Young avatar Hans Pinckaers avatar Matias Piipari avatar Christine avatar Mark Danks avatar Tiago Margalho avatar James Cloos avatar Matthias Steffens avatar yopa avatar Martin Nygren avatar James Valaitis avatar Radoslav Dejanović avatar OlgaVolkova avatar Markus Piipari avatar Alexander Griekspoor avatar Andrew Peter Martin avatar Daniella Fonyodi avatar Jasper de Vaal avatar Ayie avatar  avatar Dr Deploy avatar Claire-Louise Fagan avatar Sara Vaccarella avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.