Sebastián Ramírez
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
scripts/translate.py
|
|
|
@ -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() |
|
|
|
|