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
classOptions{[Option("startDate", Required =true, HelpText ="The start of the date range. yyyy-mm-dd")]publicDateTimeStartDate{get;set;}[Option("endDate", Required =true, HelpText ="The end of the date range. yyyy-mm-dd")]publicDateTimeEndDate{get;set;}[Usage(ApplicationAlias ="myExe")]publicstaticIEnumerable<Example> Examples
{get{vardateA= DateTime.Now.AddDays(-7);vardateB= DateTime.Now;yieldreturnnew Example("Normal scenario",new Options {StartDate=dateA,EndDate=dateB});}}}
command line:
Normal scenario:
myExe --endDate 3/20/2018 11:46:56 AM --startDate 3/13/2018 11:46:56 AM
code:
command line:
desired:
myExe --endDate 2018-03-20 --startDate 2018-03-18
The text was updated successfully, but these errors were encountered: