Files
Jonathon Broughton 46b6c0d68c Print commit details with server URL in a formatted manner
- Added print statements to display the beginning and end of execution
- Modified the print statement to display the server URL in a formatted manner
2024-08-04 17:36:15 +01:00

18 lines
489 B
Python

from speckle_automate import execute_automate_function
import sys
from pathlib import Path
# Add src to the sys.path
src_path = Path(__file__).resolve().parent / 'src'
sys.path.append(str(src_path))
from src.main import automate_function, FunctionInputs
if __name__ == "__main__":
print("---------")
print("| BEGIN |")
print("---------")
# Entry point: Execute the automate function with defined inputs.
execute_automate_function(automate_function, FunctionInputs)