mirror of https://github.com/tiangolo/fastapi.git
👷 Fix Typer command for CI LLM translations
This commit is contained in:
parent
f9397e93b5
commit
6f8f623229
|
|
@ -914,7 +914,7 @@ def list_all_removable() -> list[Path]:
|
|||
|
||||
|
||||
@app.command()
|
||||
def remove_removable(language: str) -> None:
|
||||
def remove_removable(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:
|
||||
removable_paths = list_removable(language)
|
||||
for path in removable_paths:
|
||||
path.unlink()
|
||||
|
|
|
|||
Loading…
Reference in New Issue