git.99rst.org
/
redacted-XKCD-password-generator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7f64870
)
add `__main__` file
author
Rostyslav Bohomaz
<redacted>
Wed, 20 Oct 2021 14:39:04 +0000
(17:39 +0300)
committer
Rostyslav 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]
patch
|
blob
diff --git a/xkcdpass/__main__.py
b/xkcdpass/__main__.py
new file mode 100644
(file)
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))
git clone https://git.99rst.org/PROJECT