nowfound

Life & fun · November 12, 2016

Header-only, extensible C++17 argument parser

⛳ Simple, extensible, header-only C++20 argument parser released into the public domain. - sailormoon/flags

Header-only, extensible C++17 argument parser launched on November 12, 2016 with 21 votes, #1,495 of 3,636 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 9 years on.

In plain words

This is a C++17 argument parser library designed as header-only code, making it easy to integrate into C++ projects without compilation steps. It provides extensible functionality for handling command-line arguments, allowing developers to customize parsing behavior as needed. The tool targets C++ programmers who need a straightforward way to process command-line inputs in their applications. Being header-only simplifies distribution and dependency management across different projects.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • Compile-time HTML parsing in C++142017 · github.com · ▲175

    A C++ HTML template engine that uses compile time HTML parsing - rep-movsd/see-phit

  • A Fast, Malloc-Free C++14 Json Parser and Encoder2014 · github.com · ▲98

    Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod

  • Structopt for C++ – Parse command line arguments by defining a struct2020 · github.com · ▲85

    Parse command line arguments by defining a struct. Contribute to p-ranav/structopt development by creating an account on GitHub.

  • Cppmatch – Rust-Like Pattern Matching and Error Handling for C++2025 · github.com · ▲42

    I've created cppmatch, a lightweight, header-only C++ library that brings Rust-inspired pattern matching and error handling to C++. It tries to imitate the functionality of the questionmark (?) operator in C++ by using a macro that uses the gcc extension https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html This allows to create exceptionless code with non-intrusive error-as-value that unlike Exceptions, makes it clear which kinds of error a function can generate and forces you to handle (or ignore) them. The ? operator translates to *expect* To handle the errors I…

  • Very low footprint JSON parser in portable ANSI C2012 · github.com · ▲111

    Very low footprint DOM-style JSON parser written in portable ANSI C - json-parser/json-parser

  • How to compile C/C++ for WASM, pure Clang, no libs, no framework2022 · github.com · ▲217

    A little help for programmers, who wants to run C/C++ code in the browser. (This is my second attempt to show it, first time I got banned bcoz of my personal page domain, I don't really understand it why is is suspicious.)

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, November 2016

the whole month →
  • Photos from the past, meet scanner from the future

    AI · 2016 · blog.google

  • CSS Reference is a free visual guide to CSS. It features the most popular properties, and explains them with illustrated and animated examples.

    Life & fun · 2016 · cssreference.io

  • Watch Netflix anytime without an internet connection

    Life & fun · 2016 · help.netflix.com

  • Beautiful and intelligent email app

    Growth · 2016 · sparkmailapp.com

  • PF

    Life & fun · 2016 · primitive.lol

  • Explore machine learning by playing w/ pics, music, and more

    AI · 2016 · labs.google