Using the CommandLineParser NuGet, when I run my application with an option like this.
myapplication.exe --searchfolder "c:\my great path\"
How can I use that options more than once? For example, if I want to pass in two folders...
- "c:\my great path"
- "c:\my other great path"
Currently, I use it like this for the single path given...
if (options.Verbose)
{
m_Verbose = true;
Console.WriteLine("Verbose mode on.");
}
if (options.SearchFolder != null && options.SearchFolder != "")
{
Console.WriteLine("Searching folder '{0}'...", options.SearchFolder);
}