args
argumentum
Our great sponsors
args | argumentum | |
---|---|---|
2 | 1 | |
1,276 | 192 | |
- | - | |
2.1 | 6.6 | |
about 1 year ago | 8 months ago | |
C++ | C++ | |
MIT License | Mozilla Public License 2.0 |
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.
args
-
Conan: how to obtain header-only lib for source distribution?
I'm using Conan on a little project. One of the dependencies for the project is a single-header, header-only lib. Usually, I use the cmake_find_package generator and it works fine. Conan downloads the library into its system-wide library store, and generates a Findargs.cmake file in the build dir, which references that global path.
- 3 Ways To Parse Command Line Arguments in C++: Quick, Do-It-Yourself, Or Comprehensive
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.
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.
jarro2783/cxxopts - Lightweight C++ command line option parser
tclap - Templatized C++ Command Line Parser mirror
gflags - 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:
maddy - C++ Markdown to HTML header-only parser library
termbox - Library for writing text-based user interfaces
Boost.Program_options - Boost.org program_options module
BazPO - Easy to use program options argument parser
docopt.cpp - C++11 port of docopt
Lyra - A simple to use, composable, command line parser for C++ 11 and beyond