Thanks to visit codestin.com
Credit goes to github.com

Skip to content

shanqing-cai/argparse-cpp

Repository files navigation

============ argparse-cpp

argparse-cpp is a tool for parsing command line arguments. It generally follows the style of Python argparse.

Features:

  • Print-out of formatted help information
  • Support Boolean, integer, float and string types
  • Support multiple arguments per optional switch
  • Can set default values for optional switches
  • Can set acceptance ranges for string and numerical values (e.g., >0<=100.3)
  • Can combine multiple Boolean switches (e.g., -c, -d --> -cd)

See argparse_example.cpp for example usages.

Author: Shanqing Cai ([email protected]) Date: Feb. 2014

About

C++ emulation of Python argparse (with added features)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages