Enum CommandOptionType
Defines the kinds of inputs CommandOption accepts.
Namespace: McMaster.Extensions.CommandLineUtils
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public enum CommandOptionType
Fields
Name | Description |
---|---|
MultipleValue | The option can be specified multiple times.
Example input: |
NoValue | The option can only be specified once, and does not have a value.
Example input: |
SingleOrNoValue | The option can only be specified once, and may or may not have a value. To disambiguate this from NoValue, values provided cannot be space-separated from the option name, but must use '=' or ':'
Example input:
Example input: |
SingleValue | The option can only be specified once.
Example input:
Example input:
Example input: |