diplomat.utils.cli_tools.allow_arbitrary_flags

diplomat.utils.cli_tools.allow_arbitrary_flags(func: Callable) Callable[source]

Decorator: Allow arbitrary CLI flags on a typecaster function. Additional CLI flags will be passed to the wildcard keyword argument.