From c116fa82fb31037648f82ecd3a63464b3a7dac08 Mon Sep 17 00:00:00 2001 From: Willem van Heemstra Date: Thu, 31 Oct 2024 13:29:40 +0000 Subject: [PATCH] Update --- threagile-builder/.gitignore | 25 +++++++++++++++++++ .../src/threagile_builder/__main__.py | 9 +++++++ 2 files changed, 34 insertions(+) create mode 100644 threagile-builder/.gitignore create mode 100644 threagile-builder/src/threagile_builder/__main__.py diff --git a/threagile-builder/.gitignore b/threagile-builder/.gitignore new file mode 100644 index 0000000..8a5e6ba --- /dev/null +++ b/threagile-builder/.gitignore @@ -0,0 +1,25 @@ +# Global directories +__pycache__/ + +# Global files +*.py[cod] +*.dll +*.so +*.log +*.swp + +# Root directories +/.benchmarks/ +/.env/ +/.idea/ +/.mypy_cache/ +/.pytest_cache/ +/.vscode/ +/dist/ +/site/ + +# Root files +/.coverage* + +# Version file +/src/threagile_builder/_version.py \ No newline at end of file diff --git a/threagile-builder/src/threagile_builder/__main__.py b/threagile-builder/src/threagile_builder/__main__.py new file mode 100644 index 0000000..9ca1433 --- /dev/null +++ b/threagile-builder/src/threagile_builder/__main__.py @@ -0,0 +1,9 @@ +# SPDX-FileCopyrightText: 2024-present Willem van Heemstra +# +# SPDX-License-Identifier: MIT +import sys + +if __name__ == '__main__': + from threagile_builder.cli import threagile_builder + + sys.exit(threagile_builder()) \ No newline at end of file