From: Rostyslav Bohomaz Date: Wed, 20 Oct 2021 14:39:04 +0000 (+0300) Subject: add `__main__` file X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=63d94534fdf54e0059465665d46fc9e4e3c8dfd4;p=redacted-XKCD-password-generator.git add `__main__` file allows to run as `python -m xkcdpass` --- diff --git a/xkcdpass/__main__.py b/xkcdpass/__main__.py new file mode 100644 index 0000000..b9ab260 --- /dev/null +++ b/xkcdpass/__main__.py @@ -0,0 +1,4 @@ +from sys import argv +from .xkcd_password import main + +exit(main(argv))