2 ms·
I haven't used Genopt, it looks cool. At first I thought you meant getopt, which it looks like Genopt is built on. However I think Genopt is concerned with com
by jcul 5y ago
I haven't used Genopt, it looks cool. At first I thought you meant getopt, which it looks like Genopt is built on.
However I think Genopt is concerned with command line arguments.
This is about an interactive command line interface, like a REPL. So you type command and it calls functions interactivly.
This kind of thing can be a lot of work to do right, so I think this header looks great.
I'm looking forward to trying it out.
- ryandrake 5y agoYea, I was a little confused by the "command line" claim, too. Like, where is it parsing argv and argc, and does it support long style and short style options? Title should say "Add a REPL interface to any C++ program"