aboutsummaryrefslogtreecommitdiff
path: root/reddit_nextcloud_importer/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'reddit_nextcloud_importer/__main__.py')
-rw-r--r--reddit_nextcloud_importer/__main__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/reddit_nextcloud_importer/__main__.py b/reddit_nextcloud_importer/__main__.py
new file mode 100644
index 0000000..8fe4a7f
--- /dev/null
+++ b/reddit_nextcloud_importer/__main__.py
@@ -0,0 +1,6 @@
+import sys
+
+import reddit_nextcloud_importer
+
+if __name__ == "__main__":
+ sys.exit(reddit_nextcloud_importer.main())