CliArgumentArity Enumeration

Defines the arity of an option or argument. The arity refers to the number of values that can be passed on the command line.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
public enum CliArgumentArity

Members

Zero0 An arity that does not allow any values.
ZeroOrOne1 An arity that may have one value, but no more than one.
ExactlyOne2 An arity that must have exactly one value.
ZeroOrMore3 An arity that may have multiple values.
OneOrMore4 An arity that must have at least one value.

See Also