Tags: MatthiWare/CommandLineParser.Core
Tags
Releases/0.4 (#79) * Improve Dependency Injection (#71) * Rename to BaseArgumentResolver * Add resolvers as part of DI * Remove obsolete IArgumentResolverFactory * Remove IContainerResolver will be replaced with IServiceProvider * Use IServiceProvider for resolving fixes #70 * Update readme * Add more services to the ServiceCollection * Use DI in printer tests * Add IUsagePrinter to interface * Improve DI flow * Use ActivatorUtilities to instantiate CommandLineOption * Use CreateInstance instead of newing up a new instance. * Improve extension method to allow chaining * Add basic logger * Add logger service in tests * Add logging in all tests! * Allow non generic command to be registered (#78) * Allow non generic commands to be registered (#77) * Refactor RegisterCommand<TCommand> * Allow non generic commands to be discovered * Register non generic command using model (#83) * Allow non generic commands to be registered using models fixes #82 and improves #77 * Fix issue with registering non generic sub command * Remove IgnoreAttribute fixes #80 (#84) * Update version to 0.4 * Bump FluentValidation from 8.5.1 to 9.2.2 (#86) * Bump FluentValidation from 8.5.1 to 9.2.2 Bumps [FluentValidation](https://github.com/JeremySkinner/fluentvalidation) from 8.5.1 to 9.2.2. - [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases) - [Changelog](https://github.com/FluentValidation/FluentValidation/blob/master/Changelog.txt) - [Commits](FluentValidation/FluentValidation@8.5.1...9.2.2) Signed-off-by: dependabot[bot] <support@github.com> * Fix build, upgrade fluent validation https://docs.fluentvalidation.net/en/latest/upgrading-to-9.html * bump version in nuspec Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Beerens <3512339+Matthiee@users.noreply.github.com> * Cleanup 0.4 release (#85) * Refactor InitializeModel into seperate class * Split complex ParseOptions method * Add braces * Split complex ParseCommands and ParseCommandsAsync method * Refactor if statements in HelpRequested method * Remove redundant assignment * Remove unused usings * Revert returning help requested state to caller * Improve if statements * Add xml comment * Add more xml documentation * Add validator xml comments * Update sample app * Improve test coverage * Add xml comment Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update to v0.3 (#61) * Add DefaultResolver (#58) * Add default resolver that is capable of resolving types with string constructor. Fixes #57 * Add TryParse method detection * Add Parse method finder as well. * Add last test for Parse method * Add Async API (#59) * Add async api * Add an async api for validations * Add first async api test * Add more async tests * Add more async test cases * Use Async version when parsing commands as well. * Add validation tests * Improve test coverage * Fixes some styling issues spotted by codefactor.io (#62) * Only display usages when no default values have been specified. (#63) Fixes #60 * Fix code styling * Update project to v0.3
Add abstract validations API + FluentValidations extension (#49) * Add Resolve overload to take in any type * Add FluentValidation extension project * Add public abstract validation API * Fix tests * Update sample app with fluent validations * Add FluentValidations extension project * WIP * Fix error * Add validator implementation * Add Fluent Validations Extensions test project * Add Validator extension specific tests * Add correct Fluent Validation behaviour * Fix failed merge commit * Add cake support for FVE project. * Update nuspec * Update build script * Add extra tests for fluent validations * Add nuspec and update build. * Update relative path * Add docs
Add value transformers for parsed options (#47) * Add generic IOptionBuilder<T> * Add unit test * Fix test * Add IOptionBuilder<T> for Command options as well. * Improve test coverage * Update packages * .NET Core 2.2 * Update to .NET Core 2.2 * Revert to .NET Core 2.0 otherwise tests don't run in VS 2019 * Update codecov * Update some config * Update config once more * Update xml location * Update nuspec
PreviousNext