[][src]Module flaggy::spec

spec defines the structures which are used to describe a single command-line flag (Spec) or a set of flags as they relate to a command (Specs).

Structs

Spec

Spec describes a flag, in such a way that the parser can correctly identify it in the set of arguments given on the command-line.

Specs

Specs is simply a list of flag Spec structures. Whereas each Spec defines the properties of a single flag, Specs defines the properties of multiple flags - generally, all of the flags assocaited with a single Command.