-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
28 lines (24 loc) · 738 Bytes
/
main.py
File metadata and controls
28 lines (24 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python3
"""
Main entry point for BriefWave.
This script runs the automation process to generate and email content summaries.
"""
import sys
from orchestrator import BriefWaveAutomator
def main():
"""Main function to run the BriefWave automation."""
try:
print("Starting BriefWave automation...")
automator = BriefWaveAutomator()
success = automator.run()
if success:
print("BriefWave completed successfully.")
return 0
else:
print("BriefWave completed with errors.")
return 1
except Exception as e:
print(f"Error running BriefWave: {e}")
return 1
if __name__ == "__main__":
sys.exit(main())