Skip to content

Commit cd2a14e

Browse files
committed
Add runpy hook. Fixes #713.
Allows for invocation with 'python -m gitlab'
1 parent e58d2a8 commit cd2a14e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gitlab/__main__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import gitlab.cli
2+
3+
4+
__name__ == '__main__' and gitlab.cli.main()

0 commit comments

Comments
 (0)