All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2025-01-06
- Generic Methods: Added
AddOption<T>()andAddArgument<T>()for type-safe command configuration - Typed Getters: Added
GetOption<T>(),GetArgument<T>(), andGetOptionValues<T>()toParsedArguments - Automatic Type Conversion: Support for
string,int,double,bool, and other primitive types - Type Display: Help system now shows types (
<int>,<string>, etc.) for options and arguments
- Auto-Generated Help: All commands now automatically support
--helpand-hwithout manual implementation - Metadata-Driven: Help is generated from
ArgumentsandOptionsdefinitions - Hierarchical Help: Parent commands show child commands automatically
- Opt-Out: Added
DisableHelpproperty andWithoutHelp()method for custom help handling
ArgumentDefinition: Define positional arguments with type, description, and default valuesCommandBuilder: Fluent API for configuring commands with chainable methods- Enhanced
CommandDefinition: AddedArgumentslist andDisableHelpproperty
AddCommand<T>()now returnsCommandBuilderinstead ofCliHostBuilderfor fluent configuration- Commands no longer need to manually handle
--helpunlessDisableHelpis true
ParsedArguments: Added robust type conversion with nullable type support- Help Display: Improved formatting with proper alignment and type information
- Recursive Command Display: Better hierarchy visualization in global help
- Boolean Options: Automatically set
HasValue = falseforbooltype options (flag behavior) - Default Values: Display default values in help output
- Required Indicators: Show
(required)for mandatory arguments and options
- Added comprehensive documentation for automatic help system
- Added guide for typed arguments and options with generics
- Updated README with new API examples
1.0.0 - 2025-01-XX
- Initial release
- POSIX, GNU, and Windows-style argument parsing
- Command registry and routing
- Middleware pipeline support
- IHostBuilder integration
- Dependency injection support
- Validation middleware
- Hierarchical command support
- Command aliases