CLI11 is making all the other options libraries look bad, does anyone have a comparison from experience?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • CLI11

    CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.

  • Does anyone have feedback on the possible problems with CLI11 and comparisons to any other thing available in the wild not limited to the choices I tried before? Looks like a very well-thought out library according to its documentation: https://cliutils.github.io/CLI11/book/

  • Argh!

    Argh! A minimalist argument handler. (by adishavit)

  • I personally have been very satisfied with Argh, although I'm not sure that it's necessarily as powerful or more so than CLI11.

  • 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.

    WorkOS logo
  • jarro2783/cxxopts

    Lightweight C++ command line option parser

  • I use CLI11 for more complex things, https://github.com/jarro2783/cxxopts for simpler interfaces, and boost.program_options if I have to and have boost anyways as dependency.

  • clp

  • I’ve written CLP and think it is a great solution for programs with relatively low numbers of options:

  • Lyra

    A simple to use, composable, command line parser for C++ 11 and beyond (by bfgroup)

  • I love CLI11! It has been pretty easy all the way through. Used to use lyra before but since I wanted to have subgroups in Tolc I had to switch. Great job on CLI11 if the author is in the chat :)

  • tolc

    A bindings compiler for C++

  • I love CLI11! It has been pretty easy all the way through. Used to use lyra before but since I wanted to have subgroups in Tolc I had to switch. Great job on CLI11 if the author is in the chat :)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts