Avoid boolean flag auto conversion (#929)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-11-09 20:23:05 -08:00
1 parent c5c980dd4d
commit ee6b007155
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ Commands = Union[
def entrypoint():
"""Entrypoint for use with pyproject scripts."""
tyro.extras.set_accent_color("bright_yellow")
tyro.cli(Commands).main()
tyro.cli(tyro.conf.FlagConversionOff[Commands]).main()
if __name__ == "__main__":