diplomat.utils.cli_tools.func_to_command

diplomat.utils.cli_tools.func_to_command(func: TypeCasterFunction, parser: ArgumentParser, allow_short_form: bool = True) ArgumentParser[source]