You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed Flag are optional.
I have just modify quick start example by:
publicclassNameInput{[Description("The name to be printed to the console output")]publicstringName{get;set;}[Description("The name to be printed to the console output")]publicstringName2{get;set;}[Description("The color of the text. Default is black")]publicConsoleColorColorFlag{get;set;}= ConsoleColor.Black;[Description("Optional title preceeding the name")]publicstringTitleFlag{get;set;}}
Name and Name2 are mandatories but I cannot set Name2.
Following syntax not working: dotnet run -- name titi toto -c Red
Hi,
First of all, thank for sharing your project.
It is possible to mark some arguments as mandatory ?
mandatory in the sense that if they are missing then we have an error.
The text was updated successfully, but these errors were encountered: