diplomat.processing.type_casters.to_metavar

diplomat.processing.type_casters.to_metavar(t: TypeCaster) str[source]

Convert a type caster to a command line meta-variable string.

Parameters

t – The type caster.

Returns

A string representing the type on the command line.