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
I am looking to get a count of a specific flag. For example, I would like to support the ability to specific -v, -vv, -vvv (etc) and get a count of that.
I have tried to specify the following, but this is not supported:
[Option("-v", "Verbose", CommandOptionType.NoValue)] public bool[] Verbose { get; }
[Option("-v", "Verbose", CommandOptionType.MultipleValue)] public int Verbose { get; }
The text was updated successfully, but these errors were encountered:
I am looking to get a count of a specific flag. For example, I would like to support the ability to specific -v, -vv, -vvv (etc) and get a count of that.
I have tried to specify the following, but this is not supported:
[Option("-v", "Verbose", CommandOptionType.NoValue)] public bool[] Verbose { get; }
[Option("-v", "Verbose", CommandOptionType.MultipleValue)] public int Verbose { get; }
The text was updated successfully, but these errors were encountered: