21 lines
350 B
Python
21 lines
350 B
Python
import logging
|
|
|
|
import typer
|
|
|
|
from .config import Settings
|
|
from .pipeline import run_pipeline
|
|
|
|
app = typer.Typer()
|
|
|
|
|
|
@app.command()
|
|
def run_ingestion():
|
|
"""Main function for the CLI script."""
|
|
logging.basicConfig(level=logging.INFO)
|
|
settings = Settings.model_validate({})
|
|
run_pipeline(settings)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app()
|