Skip to content

0.9.5 - Help Generator

Pre-release
Pre-release
Compare
Choose a tag to compare
@Nick-Lucas Nick-Lucas released this 28 Dec 20:57
· 179 commits to master since this release

This update changes the help generator so -h and --help no longer take control of and then exit the program after printing documentation.
From now on we have BaseApplicationOptions.HelpRequested. Developers using EntryPoint should check this property after parsing and use EntryPointApi.GenerateHelp<>() to get the documentation string. This puts control of the application flow entirely in your hands as a developer, which seems more appropriate. It does add a little boilerplate but was the lesser evil of other options.

A number of bugs are fixed (Including Required options throwing even when --help was invoked).

.Net Framework requirements have also been dropped to 4.5.0, although due to reflection features, it can't go any lower.