dotnet / dotnet/command-line-api
Integration with Microsoft.Extensions.Configuration.Commandline?
Open
Area-Hosting and DI
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
The `Microsoft.Extensions.Configuration.Commandline` extension populates app configuration from command line arguments. However it has no support for things like validation or displaying help to the user. Is there a chance this tool can be integrated, so that if you enable command line config using `config.AddCommandLine(args)`, it will validate the arguments based on the shape of `MyOptions`, and also display help if the user runs `my.exe --help`?
Contributor guide
Assessment
This issue has not been assessed yet.