I am trying to use bool argument in my console application. I'm using the CommandLineParser Package, but parser return error.
this is my option
[Option("randomize", Required = false, DefaultValue = false, HelpText = "Enter \"true\" for the random selection")]
public bool Randomize { get; set; }
argument: --randomize=true
I am using Parser.Default.ParseArguments
Any idea why this doesn't work?