diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2019-02-26 13:11:30 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2019-03-15 10:27:16 -0400 |
commit | cd2a14ea1bb4feca636de1d660378a3807101e63 (patch) | |
tree | ee36a6f30bde43040027f868df2117e8795873fb /gitlab/__main__.py | |
parent | e58d2a8567545ce14a6e1ee64423fe12f571b2ca (diff) | |
download | gitlab-cd2a14ea1bb4feca636de1d660378a3807101e63.tar.gz |
Add runpy hook. Fixes #713.
Allows for invocation with 'python -m gitlab'
Diffstat (limited to 'gitlab/__main__.py')
-rw-r--r-- | gitlab/__main__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gitlab/__main__.py b/gitlab/__main__.py new file mode 100644 index 0000000..7d8d087 --- /dev/null +++ b/gitlab/__main__.py @@ -0,0 +1,4 @@ +import gitlab.cli + + +__name__ == '__main__' and gitlab.cli.main() |