argumentum
tclap
argumentum | tclap | |
---|---|---|
1 | 4 | |
192 | 77 | |
- | - | |
6.6 | 0.0 | |
8 months ago | almost 2 years ago | |
C++ | C++ | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
argumentum
-
3 Ways To Parse Command Line Arguments in C++: Quick, Do-It-Yourself, Or Comprehensive
There is also argumentum https://github.com/mmahnic/argumentum which is for C++ 17 and supports std::optional and sub-commands.
tclap
- Templatized C++ Command Line Parser Library
-
arg_router v1.2.0 - Thanks for all your feedback!
did you check out TCLAP? https://github.com/mirror/tclap
-
3 Ways To Parse Command Line Arguments in C++: Quick, Do-It-Yourself, Or Comprehensive
TCLAP is my personal favorite.
-
Why no standard library support for command line parsing?
I use TCLAP (Templatized C++ Command Line Parser). I found this library 6 years ago, and I added it to all my projects. It's based on STL and works on every platform. https://github.com/mirror/tclap/
What are some alternatives?
CLI11 - CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
maddy - C++ Markdown to HTML header-only parser library
jarro2783/cxxopts - Lightweight C++ command line option parser
text - A spicy text library for C++ that has the explicit goal of enabling the entire ecosystem to share in proper forward progress towards a bright Unicode future.
BazPO - Easy to use program options argument parser
docopt.cpp - C++11 port of docopt
args - A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API).
Lyra - A simple to use, composable, command line parser for C++ 11 and beyond
arg_router - C++ command line argument parsing and routing