commandline
commandline copied to clipboard
How to provide file name parameters?
class Options
{
[Option('f', "files")]
public IEnumerable
and then started with cmd line -f "C:\Program Files\desktop.ini"
Got and error -f/--files option violates format.
I believe it is pretty regular use case to provide file names.
I believe your Files declaration should be:
public IEnumerable
Your example above does not provide a collection object of any kind.