args
gflags
Our great sponsors
args | gflags | |
---|---|---|
2 | 4 | |
1,276 | 2,803 | |
- | 1.2% | |
2.1 | 0.0 | |
about 1 year ago | 5 months ago | |
C++ | C++ | |
MIT License | BSD 3-clause "New" or "Revised" 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.
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
gflags
- All 1,400 Google Chrome CLI flags
-
Resolved an issue in gflags which has been opened for about 7 years
Someone opened an issue at https://github.com/gflags/gflags/issues/76, to request for a feature of flag alias, and it has been opened for about 7 years.
-
New to photogrammetry, getting started?
git clone https://github.com/gflags/gflags.git
-
Why Do Long Options Start with Two Dashes?
Google's command line flags library, known to the public as absl::Flags and formerly gflags, does not distinguish between --foo and -foo, these are both the flag "foo". Each flag has a unique name so there is never a short -f equivalent to --foo, and -foo can never mean -f -o -o.
The main design motivation of absl::Flags is that the flag definitions can appear in any module, not just main. Go inherits this. A quirk that Go did not inherit is gflags --nofoo alternate form of --foo=false.
This is all documented at https://gflags.github.io/gflags/#commandline, which is pretty much a literal export of the flags package documentation that a Google engineer would see internally.
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.
Boost.Program_options - Boost.org program_options module
jarro2783/cxxopts - Lightweight C++ command line option parser
termbox - Library for writing text-based user interfaces
conan - Conan - The open-source C and C++ package manager
docopt.cpp - C++11 port of docopt
Vcpkg - C++ Library Manager for Windows, Linux, and MacOS
Argh! - Argh! A minimalist argument handler.