Skip to content

Integration with Microsoft.Extensions.Configuration.Commandline? #572

Open
@johnknoop

Description

@johnknoop

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<MyOptions>(args), it will validate the arguments based on the shape of MyOptions, and also display help if the user runs my.exe --help?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions