Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
CLI11
CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
Hello everyone! I'm not a reddit user, but my previously open-sourced projects have been only seen by one of my coworkers and I can't even find them on google, so I'm trying to get some visibility) It's just a command line parser, but it uses the idea of declaring the structure which acts as the data scheme for the parser and result storage simultaneously, which I think is the best possible approach for the problem. I was excited when I discovered it with the structopt library, but I had too many gripes with its interface (required duplication of your structure content in the macro, everything besides positional arguments has to be wrapped in std::optional, inability to set parameters' description to the help message, etc), so I've built an alternative that doesn't tick me off. At least so far) I hope someone finds it interesting.
Maybe https://github.com/CLIUtils/CLI11? I really like this one and it looks like it supports TOML
Related posts
- Command line interface library
- arg_router v1.2.0 - Thanks for all your feedback!
- What do you need to do to build a Linux terminal app for distribution?
- argparse v2.9 released - now with support for subcommands, nargs, prefix_chars, metavar, parse_known_args, improved help messages and more
- palpatine Release1.0