In my program I have a list of pairs - name and size.
I want to build this list from the command line interface using boost::program_options
.
It should look something like this:
myProg --value("John",10) --value("Steve",14) --value("Marge",28)
I also need this to be in order - Steve will be after John and before Marge on the list. Is that possible with boost::program_options
?
This CLI syntax is just an idea to get the list. If you have a better one, do tell.