Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies = [
"textual>=0.79",
"rich>=13.7",
"mcp>=1.0",
"python-dotenv>=1.0",
]

[project.urls]
Expand Down
3 changes: 3 additions & 0 deletions wallbreaker/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import asyncio
import sys

from dotenv import load_dotenv

from .config import Config, ConfigError, Endpoint, load_config
from .providers.base import ProviderError

Expand Down Expand Up @@ -240,6 +242,7 @@ def emit(text: str) -> None:


def main(argv: list[str] | None = None) -> int:
load_dotenv()
raw = list(sys.argv[1:] if argv is None else argv)
first_pos = next((a for a in raw if not a.startswith("-")), None)

Expand Down