From 1932446c7cab51df7503d5cf42cac3de4c12188a Mon Sep 17 00:00:00 2001 From: Tristan Menzel Date: Wed, 4 Dec 2024 17:10:34 -0800 Subject: [PATCH] chore: Add block for running puya module directly --- src/puya/__main__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/puya/__main__.py b/src/puya/__main__.py index 4e7872870..fc8d90b82 100644 --- a/src/puya/__main__.py +++ b/src/puya/__main__.py @@ -52,3 +52,7 @@ def cli() -> None: awst_json=awst_json, source_annotations_json=source_annotations_json, ) + + +if __name__ == "__main__": + cli()