args icon indicating copy to clipboard operation
args copied to clipboard

A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not neces...

Results 18 args issues
Sort by recently updated
recently updated
newest added

Consider the following code: ```cpp #define ARGS_NOEXCEPT #include "args.hxx" int main(int argc, char **argv) { args::ArgumentParser parser("This is a test program.", "Test description."); args::HelpFlag help(parser, "help", "Display this help menu",...

If I setup an ArgumentParser with both short and long options AND the long option prefix is empty (""), the short options are never parsed, eg. ` args::ArgumentParser parser("This is...

I see some Nargs class in the code, but not the documentation. Is it supported / maintained?

On Win32 the default main accepts `TCHAR` which could be `WCHAR`.

In ```args::parse_args```, rather than parsing ```const char** argv``` , parse ```char** argv``` and set those ```argv``` entries to null if they are matched. Furthermore, in ParseCLI, only populate the ```std::vector...

Depending on a parent option value, is it possible to make children options required or not? (other than by adding additional checks after ArgumentParser::ParseCLI)

Is there a way to get a `Map` or `List` with the parsed values so that you can use it in another class to process the params..? I can't find...

Is there currently an easy way to pull out the full original command line string that was used to invoke the program (essentially what argv was) from within a Command/subparser...

I'd love to write this: ```cpp auto parser = args::ArgumentParser( "Benchmark a BFS graph search on a knureon complex" ); auto help = args::HelpFlag( parser, "help", "Display this help menu",...

enhancement

How to share flag with several flags? Let's say I have Add and Init which except array of strings how can I declare it in one place and reuse it...