Table of Contents

CliArgumentArity Enum

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

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

public enum CliArgumentArity

Fields

Name Value Description
Zero 0

An arity that does not allow any values.

ZeroOrOne 1

An arity that may have one value, but no more than one.

ExactlyOne 2

An arity that must have exactly one value.

ZeroOrMore 3

An arity that may have multiple values.

OneOrMore 4

An arity that must have at least one value.