mayuki / Cocona

Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.
MIT License
3.26k stars 85 forks source link

Dynamic description text #112

Open the-virt opened 10 months ago

the-virt commented 10 months ago

I wonder is there a way to provide Desctiption for commands/options/arguments through the delegate/class rather than via Attribute? Use case is the following: I would like to display possible values of an argument in help screen based on sections in configuration file, therefore I would like to have access to IConfiguration in some kind of delegate/class that is responsible to provide descriptions for my arguments.