diff --git a/src/main.py b/src/main.py index 5ae888e..56b9381 100644 --- a/src/main.py +++ b/src/main.py @@ -46,7 +46,10 @@ def __init__(self) -> None: self.dry_run: bool = arguments.dry_run -if __name__ == "__main__": +def main() -> None: + """ + Main function + """ load_dotenv() args = ScriptArgs() dune = DuneClient( @@ -97,3 +100,7 @@ def __init__(self) -> None: ) else: log.error(f"unsupported sync_table '{args.sync_table}'") + + +if __name__ == "__main__": + main()