Updates
There aren't really big differences from previous
Release Candidate 0 version. Anyway this library has demonstrated its stability in various
closed source projects. I'm talking in projects that I developed for clients during
ordinary work. If you use this project for personal use, in commercial or open source projects please let me know (and let me know also if I can publish your name in the home of this project).
Use it, there's no fee of any kind!In the stable release I've done:
- some minor internal code refactoring
- reorganized the source tree
- made the API more compatible with components container
Containers Compatibility
Components containers are the future (and for a growing numbers of developers -
the present) of the foundation of a solid software architecture. For this reason you should stop using the
Parser type, instead use the new type
CommandLineParser declaring it using the
ICommandLineParser interface.
With this architectural choice, the use with a component container you should be simplified. Follows sample
pseudo-code.
/* Initialization Code */
MyContainer container = new MyContainer();
container.AddComponent<ICommandLineParser, CommandLineParser>("cmdline.parser", typre);
/* [... omissis ...] */
/* Command Line Processing Code */
parser = container.Resolve<ICommandLineParser>("cmdline.parser");
This is not the place to go deeper in this argument, please read my
blog article about it (and more).