argparse 3.0
The release of version 3.0 of the C++ (C++17 dialect) header-only library for parsing command-line arguments, distributed under the MIT License, has occurred. What's new: support for mutually exclusive arguments has been added: auto &group = program.add_mutually_exclusive_group(); group.add_argument(«—first»); group.add_argument(«—second»); a C++20 module has been added; support for selecting from multiple values has been added: program.add_argument(«input») .default_value(std::string{«baz»}) .choices(«foo», «bar», «baz»); program.add_argument(«count») .default_value(0) .choices(0, 1, 2, 3, 4, 5); support for binary […]
