Hacker GitHub

← All repos

p-ranav/structopt

View on GitHub ↗ ★ 511 C++

Parse command line arguments by defining a struct

4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2020-08-17 · latest 2020-08-17

Mentions per year 4 mentions · busiest year 2020 (4)
20082026
  1. It's this: https://github.com/p-ranav/structopt/blob/master/include/str... mashed into a single header with some other stuff by a build tool, I think. That looks like something that was proposed for inclusion in boost a long time ago. I…
  2. …generated code looks strange: static VISIT_STRUCT_CONSTEXPR const int max_visitable_members = 69; https://github.com/p-ranav/structopt/blob/master/single_incl...
  3. …own project (which seems to be generated (aka "amalgamated") from multiple smaller header files): https://github.com/p-ranav/structopt/tree/master/single_incl... So for typical C++ libraries, this seems quite straightforward to integrate.…
  4. ▲ 85
    Show HN: Structopt for C++ – Parse command line arguments by defining a struct
    story by p-ranav · 2020-08-17 · 56 comments