30 lines
692 B
Python
Executable File
30 lines
692 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Main entry point for the CrossFit Booker application.
|
|
This script initializes the CrossFitBooker and starts the booking process.
|
|
"""
|
|
|
|
import logging
|
|
from src.crossfit_booker import CrossFitBooker
|
|
|
|
def main():
|
|
"""
|
|
Main function to initialize the CrossFitBooker and start the booking process.
|
|
"""
|
|
# Set up logging
|
|
logging.basicConfig(
|
|
level=logging.INFO,
|
|
format='%(asctime)s - %(levelname)s - %(message)s',
|
|
handlers=[
|
|
logging.StreamHandler()
|
|
]
|
|
)
|
|
|
|
# Initialize the CrossFitBooker
|
|
booker = CrossFitBooker()
|
|
|
|
# Run the booking process
|
|
booker.run()
|
|
|
|
if __name__ == "__main__":
|
|
main() |