command-line-api
command-line-api copied to clipboard
Idea: Make DragonFruit attribute-based, not (or not only) xml-based
Would be nice to have DragonFruit with attributes-based, not xml-based approach
[CommandLineApp("Tool description")]
public static void Main(
[CommandLineOption("this is value")] int value = 1,
[CommandLineOption("this is value2")] int value2 = 1)
{
}
potentially it should make possible to make compatible with https://github.com/dotnet/csharplang/issues/5045