add `__main__` file
authorRostyslav Bohomaz <redacted>
Wed, 20 Oct 2021 14:39:04 +0000 (17:39 +0300)
committerRostyslav Bohomaz <redacted>
Wed, 20 Oct 2021 14:39:04 +0000 (17:39 +0300)
allows to run as `python -m xkcdpass`

xkcdpass/__main__.py [new file with mode: 0644]

diff --git a/xkcdpass/__main__.py b/xkcdpass/__main__.py
new file mode 100644 (file)
index 0000000..b9ab260
--- /dev/null
@@ -0,0 +1,4 @@
+from sys import argv
+from .xkcd_password import main
+
+exit(main(argv))
git clone https://git.99rst.org/PROJECT