p-ranav / argparse

Argument Parser for Modern C++
MIT License
2.59k stars 244 forks source link

Any alternative to boost::program_options::split_unix? #355

Open thejohnfreeman opened 4 months ago

thejohnfreeman commented 4 months ago

The parser assumes we have an (argc, argv) tuple to pass. What if we just have a char const* from readline()? Would be helpful to have an alternative to boost::program_options::split_unix that turns the second into the first so that we don't have to depend on two argument parsing libraries. (If it exists, I didn't see it mentioned in the README.)