Boost.Program_options VS args

Compare Boost.Program_options vs args and see what are their differences.

Boost.Program_options

Boost.org program_options module (by boostorg)
CLI

args

A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API). (by Taywee)
CLI
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Boost.Program_options args
1 2
97 1,276
- -
5.5 2.1
10 days ago about 1 year ago
C++ C++
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

Boost.Program_options

Posts with mentions or reviews of Boost.Program_options. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-09.

args

Posts with mentions or reviews of args. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-16.

What are some alternatives?

When comparing Boost.Program_options and args you can also consider the following projects:

jarro2783/cxxopts - Lightweight C++ command line option parser

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

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:

Vcpkg - C++ Library Manager for Windows, Linux, and MacOS

conan - Conan - The open-source C and C++ package manager

termbox - Library for writing text-based user interfaces

Ncurses - ncurses Git mirror

docopt.cpp - C++11 port of docopt

Argh! - Argh! A minimalist argument handler.