mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-03-01 17:00:48 +01:00
feat: add logger module (#37)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import typer
|
||||
|
||||
from ..logger import configure_logging
|
||||
from .config import get_custom_cli
|
||||
from .pyproject import load_pyproject
|
||||
|
||||
@@ -27,4 +28,5 @@ if _config.get("fixtures") and _config.get("db_context"):
|
||||
@cli.callback()
|
||||
def main(ctx: typer.Context) -> None:
|
||||
"""FastAPI utilities CLI."""
|
||||
configure_logging()
|
||||
ctx.ensure_object(dict)
|
||||
|
||||
Reference in New Issue
Block a user