Skip to content

bebekifis/option

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README: This is a interface for option parser. It is easy to use this software to parse the options such as: ./demo --arg1=val1 --arg2=val2 There are two steps to use this software

  1. in the initialization, regist the option keys and default values
  2. and then, using Option::parseOption(argv) to parse the options option which is not registed in the initialization are not allowed in the command line

the options are storaged in the Option::opt as a std::map. you can access the option via: map[key].

Author: Yinan Yu Contact: [email protected]

About

a general option parser interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages