Module Command.Flag.Action


module Action: sig .. end

type 'a t 
'accum-mutating action to perform when processing a flag
val noarg : ('a -> unit) -> 'a t
an action for a flag that takes no additional argument
val arg : ('a -> string -> unit) -> 'a t
an action for a flag that takes an additional string argument
val rest : ('a -> string list -> unit) -> 'a t
rest f: an action for a flag that signals the end of flag processing. all remaining arguments are passed to the f
val of_type : 'a Command.Flag.Type.t -> ('b -> 'a -> unit) -> 'b t
an action taking an argument of some parsable type 'a