The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at:
Why do you think that https://github.com/Taywee/args is a good alternative to gflags