summaryrefslogtreecommitdiffstats
path: root/DeDRM_plugin/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'DeDRM_plugin/__main__.py')
-rw-r--r--DeDRM_plugin/__main__.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/DeDRM_plugin/__main__.py b/DeDRM_plugin/__main__.py
new file mode 100644
index 0000000..96b4217
--- /dev/null
+++ b/DeDRM_plugin/__main__.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+
+# __main__.py for DeDRM_plugin
+# (CLI interface without Calibre)
+# Copyright © 2021 NoDRM
+
+__license__ = 'GPL v3'
+__docformat__ = 'restructuredtext en'
+
+# For revision history see __init__.py
+
+"""
+Run DeDRM plugin without Calibre.
+"""
+
+# Import __init__.py from the standalone folder so we can have all the
+# standalone / non-Calibre code in that subfolder.
+
+import standalone.__init__ as mdata
+import sys
+
+mdata.main(sys.argv) \ No newline at end of file