Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Added __main__
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Feb 15, 2023
1 parent 076e22e commit ba090a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions pytransifex/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from pytransifex.cli import cli

if __name__ == "__main__":
cli()
4 changes: 0 additions & 4 deletions pytransifex/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,3 @@ def pull(output_directory: str | Path | None, only_lang: str | None):
finally:
click.echo(reply)
settings.to_disk()


if __name__ == "__main__":
cli()

0 comments on commit ba090a7

Please sign in to comment.