feat: load dotenv in cli entrypoints

This commit is contained in:
lda
2026-06-13 05:58:12 +07:00 Verified
parent 82bc036987
commit 38913cfdcb
4 changed files with 30 additions and 0 deletions
+2
View File
@@ -3,6 +3,7 @@ from __future__ import annotations
from typing import Annotated
import typer
from dotenv import load_dotenv
from .commands import (
admin,
@@ -86,4 +87,5 @@ app.command("status")(status.status_command)
def main() -> None:
"""Console script entrypoint for `wf`."""
load_dotenv()
app()