[][src]Module flaggy_values::value

Structs

Values

Values is a structure which contains all of the parsed command-line flag values (or the default values for those flags). If parsing fails (including if some required flags weren't specified, for example), an error is returned.

Enums

Value

A Value is the value associated with a given flag. The type of the value is different depending on the type of flag it is associated with.

Functions

take_optional

Take a single optional flag value from a list of values. Generally this should not be called directly, instead being used via #[command_callback].

take_required

Take a single required flag value from a list of values. Generally this should not be called directly, instead being used via #[command_callback].