Command.ArgSourceRefer to the Arguments terminology.
A flag that may appear at most once on the command line.
A flag that may appear multiple times on the command line. Evaluates to the number of times the flag appeared.
A required named argument (must appear exactly once on the command line).
val named_multi :
?docv:string ->
string Nonempty_list.t ->
'a Param.t ->
doc:string ->
'a list tA named argument that may appear multiple times on the command line.
val named_opt :
?docv:string ->
string Nonempty_list.t ->
'a Param.t ->
doc:string ->
'a option tAn optional named argument (may appear at most once).
val named_with_default :
?docv:string ->
string Nonempty_list.t ->
'a Param.t ->
default:'a ->
doc:string ->
'a tAn optional named argument with a default value.
Positional argument start at index 0.
A required positional argument. It must appear exactly once at position i on the command line.
An optional positional argument at position i. Optional positional argument must not be followed by more positional argument as this creates ambiguous specifications.