I am looking for a library to analyze command line options that will work the same in Java, C / C ++, Python, and (preferably) the shell. By "identical" I mean (1) have exactly the same rules for analyzing parameters in all three languages, (2) use the same configuration files or have a similar API to specify parameters, (3) have similar APIs to access parameter values.
I have always used getopt in C and Apache CLI in Java, but it would be nice to use the same specification for parameters in several languages.
source share