From cd2a14ea1bb4feca636de1d660378a3807101e63 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 26 Feb 2019 13:11:30 -0500 Subject: [PATCH] Add runpy hook. Fixes #713. Allows for invocation with 'python -m gitlab' --- gitlab/__main__.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 gitlab/__main__.py diff --git a/gitlab/__main__.py b/gitlab/__main__.py new file mode 100644 index 000000000..7d8d08737 --- /dev/null +++ b/gitlab/__main__.py @@ -0,0 +1,4 @@ +import gitlab.cli + + +__name__ == '__main__' and gitlab.cli.main()